mirror of
https://github.com/gradle/actions.git
synced 2026-05-15 13:13:12 +08:00
Limit token permissions in GitHub workflows (#440)
See https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#token-permissions
This commit is contained in:
@@ -4,6 +4,9 @@ on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user