From 5ad17587e6822f014055d56d39613f8969fd38f7 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Fri, 3 May 2024 22:59:30 -0400 Subject: [PATCH] Use OIDC instead of token for codecov upload --- .github/workflows/check.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 845d225..e3574e7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -32,6 +32,8 @@ jobs: coverage: runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v4 @@ -59,4 +61,4 @@ jobs: uses: codecov/codecov-action@v4 with: files: ./.coverage,./cobertura.xml - token: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true