mirror of
https://github.com/google-github-actions/auth.git
synced 2026-06-06 01:47:05 +00:00
Only run integration when secrets are available
This commit is contained in:
parent
c2df8017cd
commit
0aa6edff98
1 changed files with 3 additions and 0 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue