diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54e41196f3d..43ffa515a08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,9 @@ jobs: node-version: ${{ matrix.node }} - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # SECURITY: pin third-party action hashes - id: auth - uses: google-github-actions/auth@v0 + uses: google-github-actions/auth@v2 + # Skip auth if PR is from a fork + if: ${{ !github.event.pull_request.head.repo.fork }} with: workload_identity_provider: ${{ secrets.DATA_TEAM_PROVIDER_NAME }} service_account: ${{ secrets.DATA_TEAM_SA_EMAIL }}