From 632f4d89ff03254b95c00ff99374aed08ec4e870 Mon Sep 17 00:00:00 2001 From: Darrel O'Pry Date: Thu, 10 Jul 2025 20:32:16 -0400 Subject: [PATCH] fix: codecov uploads failing codecov uploads are failing due to rate limiting see: https://github.com/jazzband/django-oauth-toolkit/actions/runs/16092121891/job/45410281627#step:8:37 https://github.com/codecov/feedback/issues/735#issuecomment-3029149555 indicated I should try oidc --- .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 e3073dc7a..0b453d269 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,8 @@ jobs: test-package: name: Test Package (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }}) runs-on: ubuntu-latest + permissions: + id-token: write # Required for Codecov OIDC token strategy: fail-fast: false matrix: @@ -60,9 +62,10 @@ jobs: DJANGO: ${{ matrix.django-version }} - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: name: Python ${{ matrix.python-version }} + use_oidc: true test-demo-rp: name: Test Demo Relying Party