Skip to content

fix: pass CODECOV_TOKEN to codecov uploader to avoid rate limit issues#932

Merged
yogeshchoudhary147 merged 1 commit intomainfrom
fix/codecov-token
Nov 18, 2025
Merged

fix: pass CODECOV_TOKEN to codecov uploader to avoid rate limit issues#932
yogeshchoudhary147 merged 1 commit intomainfrom
fix/codecov-token

Conversation

@yogeshchoudhary147
Copy link
Copy Markdown
Contributor

Description:
This PR updates the Unit Tests GitHub Actions workflow (.github/workflows/test.yml) for auth0-react to explicitly provide the CODECOV_TOKEN to the Codecov action.

Background:

  • Previously, the Codecov uploader often failed due to hitting rate limits.
  • Logs showed No token specified or token is empty, meaning the workflow wasn’t using the secret.
  • Because the uploader exits with status code 0, the workflow appeared green even when coverage wasn’t uploaded.

Changes:

  • Added token: ${{ secrets.CODECOV_TOKEN }} to the Upload coverage step.
  • This ensures the uploader authenticates properly with Codecov and avoids rate limiting issues.

Impact:

  • Coverage reports should now reliably upload in GitHub Actions for PRs and pushes to main.
  • Failures due to rate limiting should no longer occur.

@yogeshchoudhary147 yogeshchoudhary147 requested a review from a team as a code owner November 18, 2025 05:52
Copy link
Copy Markdown
Contributor

@developerkunal developerkunal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yogeshchoudhary147 yogeshchoudhary147 merged commit 3ac429b into main Nov 18, 2025
11 of 14 checks passed
@yogeshchoudhary147 yogeshchoudhary147 deleted the fix/codecov-token branch November 18, 2025 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants