mirror of
https://github.com/gradle/actions
synced 2024-11-23 18:02:13 +00:00
Skip certain tests when running from fork
This commit is contained in:
parent
d37a479015
commit
30a2ee13f2
1 changed files with 5 additions and 2 deletions
7
.github/workflows/ci-integ-test.yml
vendored
7
.github/workflows/ci-integ-test.yml
vendored
|
@ -75,6 +75,7 @@ jobs:
|
|||
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
||||
|
||||
dependency-graph:
|
||||
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||
needs: [determine-suite, build-distribution]
|
||||
uses: ./.github/workflows/integ-test-dependency-graph.yml
|
||||
permissions:
|
||||
|
@ -84,6 +85,7 @@ jobs:
|
|||
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
||||
|
||||
dependency-submission:
|
||||
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||
needs: [determine-suite, build-distribution]
|
||||
uses: ./.github/workflows/integ-test-dependency-submission.yml
|
||||
permissions:
|
||||
|
@ -93,6 +95,7 @@ jobs:
|
|||
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
||||
|
||||
dependency-submission-failures:
|
||||
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||
needs: [determine-suite, build-distribution]
|
||||
uses: ./.github/workflows/integ-test-dependency-submission-failures.yml
|
||||
permissions:
|
||||
|
@ -116,7 +119,7 @@ jobs:
|
|||
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
||||
|
||||
develocity-injection:
|
||||
if: ${{ vars.HAS_GRADLE_ACTIONS_SECRETS == 'true' }}
|
||||
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||
needs: [determine-suite, build-distribution]
|
||||
uses: ./.github/workflows/integ-test-inject-develocity.yml
|
||||
with:
|
||||
|
@ -131,7 +134,7 @@ jobs:
|
|||
runner-os: '["ubuntu-latest"]'
|
||||
|
||||
restore-configuration-cache:
|
||||
if: ${{ vars.HAS_GRADLE_ACTIONS_SECRETS == 'true' }}
|
||||
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||
needs: [determine-suite, build-distribution]
|
||||
uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue