-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Description
When running codecov action v4.4.0 with oidc enabled on PR from fork, it tries to fetch oidc token and fails:
Run codecov/codecov-action@6d798873df2b1b8e5846dba6fb86631229fbcb17
with:
fail_ci_if_error: true
files: ./coverage.xml
name: codecov-envoy-gateway
verbose: true
use_oidc: true
Error: Codecov: Failed to get OIDC token with url: https://codecov.io./ Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
According to #1404 I expect it to skip token fetching and use tokenless request.
My temporary workaround is to set use_oidc
to true
only on push event or on PR from the same repo:
use_oidc: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}
Metadata
Metadata
Assignees
Labels
No labels