From 44ed4dbaf8ac8a37f5992472cf6e3024ca42d796 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 5 Nov 2026 17:09:28 +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 22cea8f..2ba38a1 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 @@ -32,4 +35,4 @@ jobs: uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7.1.0 with: files: ./coverage/clover.xml - token: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true