Only run integration when secrets are available

This commit is contained in:
Seth Vargo 2021-12-22 11:31:56 -05:00
parent c2df8017cd
commit 0aa6edff98
Failed to extract signature

View File

@ -36,6 +36,7 @@ jobs:
credentials_json: credentials_json:
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}
name: 'credentials_json' name: 'credentials_json'
runs-on: '${{ matrix.os }}' runs-on: '${{ matrix.os }}'
strategy: strategy:
@ -97,6 +98,7 @@ jobs:
workload_identity_federation: workload_identity_federation:
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}
name: 'workload_identity_federation' name: 'workload_identity_federation'
runs-on: '${{ matrix.os }}' runs-on: '${{ matrix.os }}'
strategy: strategy:
@ -167,6 +169,7 @@ jobs:
# the shared filesystem with the container and that the USER for the container # the shared filesystem with the container and that the USER for the container
# has permissions to read the file. # has permissions to read the file.
docker: docker:
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}
name: 'docker' name: 'docker'
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'
strategy: strategy: