From 9b9ad8dd368c5c4a3e50326d3aafeed46d1c6d8c Mon Sep 17 00:00:00 2001 From: Chester Ismay Date: Sat, 20 Jun 2026 09:44:03 -0700 Subject: [PATCH] ci: authenticate Codecov uploads with CODECOV_TOKEN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pass the CODECOV_TOKEN secret (and slug) to codecov-action so main-branch uploads are authenticated rather than relying on tokenless upload, which Codecov rate-limits. The repo just needs a CODECOV_TOKEN secret added (Codecov project settings → repository upload token); fail_ci_if_error stays false so a Codecov hiccup never fails the test job. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_017CTL1QSTg1DmDUpqYuPEog --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a8d5306..b3405c5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,4 +38,6 @@ jobs: uses: codecov/codecov-action@v7 with: files: ./coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false + slug: moderndive/moderndive-python