Skip to content

Commit

Permalink
Disable OIDC for coverage uploads from forks
Browse files Browse the repository at this point in the history
This is based on the following comment:
codecov/codecov-action#1594 (comment)
  • Loading branch information
snejus committed Nov 23, 2024
1 parent 176661b commit db71444
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 db71444

Please sign in to comment.