From 0f37c778986db08bef947a4b753368c5eb96f9b1 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 5 Nov 2026 17:09:26 +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 f2d82c0..3be2dce 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@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: files: ./coverage/clover.xml - token: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true