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 }}