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:
3
.github/workflows/ci-init-script-check.yml
vendored
3
.github/workflows/ci-init-script-check.yml
vendored
@@ -14,6 +14,9 @@ on:
|
||||
- 'sources/test/init-scripts/**'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test-init-scripts:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user