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:
parent
ee71915c18
commit
2119b2deba
1 changed files with 5 additions and 5 deletions
10
.github/workflows/use-action.yaml
vendored
10
.github/workflows/use-action.yaml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue