Limit token permissions in GitHub workflows (#440)

See
ea7e27ed41/docs/checks.md (token-permissions)
This commit is contained in:
Daz DeBoer
2024-11-13 19:01:45 -07:00
committed by GitHub
parent af45dcfe3c
commit 07e0f1c008
29 changed files with 129 additions and 17 deletions

View File

@@ -18,6 +18,9 @@ env:
# Requires a fresh cache entry each run
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: cache-cleanup-${{ inputs.cache-key-prefix }}-${{github.run_number}}
permissions:
contents: read
jobs:
cache-cleanup-full-build:
strategy: