Fix codecov on PRs (#60174)

This commit is contained in:
Jake Bailey 2024-10-08 16:20:32 -07:00 committed by GitHub
parent 2149a0f31a
commit a53c37d59a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,7 +97,7 @@ jobs:
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
use_oidc: true
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }}
disable_search: true
files: ./coverage/codecov.json