From 736162f27b039d7d91e90db33edc2aa0785d4e7b Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 5 Nov 2026 17:09:25 +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 55148cb..31e9ccc 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@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: files: ./coverage/clover.xml - token: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true