From dc799cdbf3998892b252849938599f99931b12d6 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sat, 5 Oct 2024 00:05:02 -0400 Subject: [PATCH] fix: set `use_oidc` to `false` for PRs from fork repos --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 85d2a25..c540531 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -39,6 +39,6 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4 with: - use_oidc: true + use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }} - name: Minimize uv cache run: uv cache prune --ci