Skip to content

Commit

Permalink
Used use_oidc auth for codecov instead of token
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Nov 20, 2024
1 parent 8117d86 commit f3b0462
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ permissions:
jobs:
Unit:
runs-on: ${{ matrix.os }}
permissions:
contents: read
id-token: write

strategy:
fail-fast: false
Expand Down Expand Up @@ -75,8 +78,8 @@ jobs:
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
use_oidc: true
fail_ci_if_error: true # optional (default = false)
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true # optional (default = false)

Integration:
Expand Down

0 comments on commit f3b0462

Please sign in to comment.