mirror of
https://github.com/gradle/actions.git
synced 2026-04-19 18:12:58 +08:00
Fix workflow permissions
This commit is contained in:
@@ -15,33 +15,35 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
caching-integ-tests:
|
caching-integ-tests:
|
||||||
|
needs: build-distribution
|
||||||
uses: ./.github/workflows/suite-integ-test-caching.yml
|
uses: ./.github/workflows/suite-integ-test-caching.yml
|
||||||
concurrency:
|
concurrency:
|
||||||
group: CI-integ-test-full
|
group: CI-integ-test-caching
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
with:
|
with:
|
||||||
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
|
skip-dist: false
|
||||||
skip-dist: true
|
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
dependency-submission-integ-tests:
|
|
||||||
uses: ./.github/workflows/suite-integ-test-dependency-submission.yml
|
|
||||||
concurrency:
|
|
||||||
group: CI-integ-test-full
|
|
||||||
cancel-in-progress: false
|
|
||||||
with:
|
|
||||||
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
|
|
||||||
skip-dist: true
|
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
other-integ-tests:
|
other-integ-tests:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
needs: caching-integ-tests
|
||||||
uses: ./.github/workflows/suite-integ-test-other.yml
|
uses: ./.github/workflows/suite-integ-test-other.yml
|
||||||
concurrency:
|
concurrency:
|
||||||
group: CI-integ-test-full
|
group: CI-integ-test-other
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
with:
|
with:
|
||||||
runner-os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
|
skip-dist: false
|
||||||
skip-dist: true
|
secrets: inherit
|
||||||
|
|
||||||
|
dependency-submission-integ-tests:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
needs: other-integ-tests
|
||||||
|
uses: ./.github/workflows/suite-integ-test-dependency-submission.yml
|
||||||
|
concurrency:
|
||||||
|
group: CI-integ-test-dependency-submission
|
||||||
|
cancel-in-progress: false
|
||||||
|
with:
|
||||||
|
skip-dist: false
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
Reference in New Issue
Block a user