From c26fc952f96d5f901cae8f1db9204d1ad1944c67 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 5 Nov 2026 17:09:24 +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 5b88a0c..9450528 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,9 @@ on: jobs: test: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write # for Codecov authentication steps: - name: Checkout @@ -38,4 +41,4 @@ jobs: uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: files: ./coverage/clover.xml - token: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true