Skip to content

Commit db71444

Browse files
committed
Disable OIDC for coverage uploads from forks
This is based on the following comment: codecov/codecov-action#1594 (comment)
1 parent 176661b commit db71444

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)