Merge pull request #643 from crazy-max/ci-codecov-oidc

ci: use OIDC for Codecov uploads
This commit is contained in:
CrazyMax 2026-11-05 17:24:39 +01:00 committed by GitHub
commit bf8388060d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,9 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # for Codecov authentication
steps: steps:
- -
name: Checkout name: Checkout
@ -35,4 +38,4 @@ jobs:
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with: with:
files: ./coverage/clover.xml files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }} use_oidc: true