From 2119b2deba350da91b2bbfec635966b24e7cb7a4 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Wed, 5 Nov 2025 23:08:40 -0500 Subject: [PATCH] checkout first Signed-off-by: Jason Hall --- .github/workflows/use-action.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/use-action.yaml b/.github/workflows/use-action.yaml index f5186e4..0a3c58c 100644 --- a/.github/workflows/use-action.yaml +++ b/.github/workflows/use-action.yaml @@ -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 }}