From 0aa6edff98d39ab19d49bce8d3034115709fa1db Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 22 Dec 2021 11:31:56 -0500 Subject: [PATCH] Only run integration when secrets are available --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 18d802d..185a713 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,6 +36,7 @@ jobs: credentials_json: + if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }} name: 'credentials_json' runs-on: '${{ matrix.os }}' strategy: @@ -97,6 +98,7 @@ jobs: workload_identity_federation: + if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }} name: 'workload_identity_federation' runs-on: '${{ matrix.os }}' strategy: @@ -167,6 +169,7 @@ jobs: # the shared filesystem with the container and that the USER for the container # has permissions to read the file. docker: + if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }} name: 'docker' runs-on: 'ubuntu-latest' strategy: