Skip to content

Commit ccb54c4

Browse files
committed
fix: enable OIDC authentication for codecov uploads
codecov-action@v5 requires explicit use_oidc: true to use tokenless OIDC authentication, even when the workflow has id-token: write permission.
1 parent 425139c commit ccb54c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build-test-actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
6464
uses: codecov/codecov-action@v5
6565
with:
66+
use_oidc: true
6667
fail_ci_if_error: true
6768
files: ./coverage.xml
6869
verbose: true

0 commit comments

Comments
 (0)