actions / starter-workflows

Accelerating new GitHub Actions workflows
https://github.com/features/actions
Other
8.6k stars 5.09k forks source link

Gradle Starter workflow - require contents:write for dependency submission API integration #2298

Closed felickz closed 4 months ago

felickz commented 4 months ago

This pull request includes a change to the ci/gradle.yml file. The change modifies the permissions required for the build job, changing contents from read to write. This is necessary for the Dependency submission API, which requires write permission on the repository to submit dependencies.
See Documentation:

Pre-requisites


Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.


Tasks

For all workflows, the workflow:

For CI workflows, the workflow:

For Code Scanning workflows, the workflow:

Some general notes: