From 8b6299bf5a7e0794e2e4cedd158a0274f4a799f7 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 5 Nov 2026 17:09:27 +0100 Subject: [PATCH] ci: use OIDC for Codecov uploads Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3f88758..4c41190 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,9 @@ on: jobs: test: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write # for Codecov authentication steps: - name: Checkout @@ -35,4 +38,4 @@ jobs: uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: files: ./coverage/clover.xml - token: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true