1
0
Fork 0
mirror of https://github.com/imjasonh/gcp-metrics-action synced 2026-07-18 06:36:35 +00:00

checkout first

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2025-11-05 23:08:40 -05:00
parent ee71915c18
commit 2119b2deba

View file

@ -16,16 +16,16 @@ jobs:
actions: read # To view this workflow's metadata and logs
steps:
- uses: 'google-github-actions/auth@v3'
with:
credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY }}'
cleanup_credentials: false # Needed for subsequent steps
- uses: actions/checkout@v5
with:
# For pull_request_target, checkout the PR head to test the PR's code
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: 'google-github-actions/auth@v3'
with:
credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY }}'
cleanup_credentials: false # Needed for subsequent steps
- uses: ./
with:
github-token: ${{ github.token }}