mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Limit token permissions in GitHub workflows (#440)
See
ea7e27ed41/docs/checks.md (token-permissions)
This commit is contained in:
@@ -20,6 +20,9 @@ env:
|
||||
SKIP_DIST: ${{ inputs.skip-dist }}
|
||||
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: inject-develocity-${{ inputs.cache-key-prefix }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
inject-develocity:
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user