ci: use OIDC for Codecov uploads

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2026-11-05 17:09:26 +01:00
parent 8e671d84a3
commit 0f37c77898
+4 -1
View File
@@ -17,6 +17,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # for Codecov authentication
steps:
-
name: Checkout
@@ -32,4 +35,4 @@ jobs:
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
use_oidc: true