From 30a2ee13f2ad994ba69bdd1e50160bce82e466b7 Mon Sep 17 00:00:00 2001 From: daz Date: Wed, 10 Apr 2024 17:05:09 -0600 Subject: [PATCH] Skip certain tests when running from fork --- .github/workflows/ci-integ-test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-integ-test.yml b/.github/workflows/ci-integ-test.yml index 50d5f97..7d13f1b 100644 --- a/.github/workflows/ci-integ-test.yml +++ b/.github/workflows/ci-integ-test.yml @@ -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: