From 5727b9066534871d2ccaeb0f6eabb52c87ab7b8f Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 12 Jul 2026 10:28:55 +0000 Subject: [PATCH] Fix silent codecov upload failures by authenticating with a repo token Every recent push to master's Test coverage step has been hitting Codecov's HTTP 429 rate limit for tokenless uploads (confirmed in the job logs: "Rate limit reached. Please upload with the Codecov repository upload token to resolve issue."), so coverage has silently stopped reaching codecov.io even though the CI step reports success (covr::codecov() doesn't fail the step on a bad HTTP response). Passes CODECOV_TOKEN from a repo secret, which covr::codecov() already knows to read. Requires adding a CODECOV_TOKEN secret (from codecov.io's repo settings) at github.com/sipss/GCIMS/settings/secrets/actions before this takes effect. --- .github/workflows/check-bioc.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check-bioc.yml b/.github/workflows/check-bioc.yml index 5fb3ba3..63d93e1 100644 --- a/.github/workflows/check-bioc.yml +++ b/.github/workflows/check-bioc.yml @@ -298,6 +298,8 @@ jobs: - name: Test coverage if: github.ref == 'refs/heads/master' && env.run_covr == 'true' && runner.os == 'Linux' && env.CONF_NAME == 'ubuntu' + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} run: | covr::codecov() shell: Rscript {0}