Skip to content

Commit a53c37d

Browse files
authored
Fix codecov on PRs (microsoft#60174)
1 parent 2149a0f commit a53c37d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797

9898
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
9999
with:
100-
use_oidc: true
100+
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }}
101101
disable_search: true
102102
files: ./coverage/codecov.json
103103

0 commit comments

Comments
 (0)