Skip to content

Commit 37a2cec

Browse files
authored
Fix coverage upload from forks: Attempt #2 (#5514)
The fix is based on the following comment: codecov/codecov-action#1594 (comment)
2 parents 0e6ba45 + db71444 commit 37a2cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ jobs:
7575
uses: codecov/codecov-action@v4
7676
with:
7777
files: ./coverage.xml
78-
use_oidc: true
78+
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }}

0 commit comments

Comments
 (0)