Skip to content

Commit

Permalink
Fix coverage upload from forks: Attempt #2 (#5514)
Browse files Browse the repository at this point in the history
The fix is based on the following comment:

codecov/codecov-action#1594 (comment)
  • Loading branch information
snejus authored Nov 23, 2024
2 parents 0e6ba45 + db71444 commit 37a2cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ jobs:
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
use_oidc: true
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }}

0 comments on commit 37a2cec

Please sign in to comment.