Skip to content

Commit

Permalink
Use OIDC instead of token for codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed May 4, 2024
1 parent 8419898 commit 5ad1758
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:

coverage:
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -59,4 +61,4 @@ jobs:
uses: codecov/codecov-action@v4
with:
files: ./.coverage,./cobertura.xml
token: ${{ secrets.CODECOV_TOKEN }}
use_oidc: true

0 comments on commit 5ad1758

Please # to comment.