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:
8
.github/workflows/ci-integ-test.yml
vendored
8
.github/workflows/ci-integ-test.yml
vendored
@@ -11,13 +11,13 @@ on:
|
||||
paths-ignore:
|
||||
- 'dist/**'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
concurrency:
|
||||
group: integ-test
|
||||
cancel-in-progress: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-distribution:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -36,6 +36,8 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
other-integ-tests:
|
||||
permissions:
|
||||
contents: write
|
||||
needs: build-distribution
|
||||
uses: ./.github/workflows/suite-integ-test-other.yml
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user