Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codecov not working #9129

Closed
mtrezza opened this issue May 16, 2024 · 4 comments
Closed

Codecov not working #9129

mtrezza opened this issue May 16, 2024 · 4 comments
Labels
type:ci CI related issue

Comments

@mtrezza
Copy link
Member

mtrezza commented May 16, 2024

New Issue Checklist

Issue Description

Codecov doesn't work; nothing we can do ATM, see codecov/codecov-action#1262. We'll consider this when reviewing failing workflows in PRs.

Copy link

parse-github-assistant bot commented May 16, 2024

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:ci CI related issue label May 16, 2024
@mtrezza mtrezza pinned this issue May 16, 2024
@mtrezza mtrezza unpinned this issue May 16, 2024
@cbaker6
Copy link
Contributor

cbaker6 commented May 17, 2024

@mtrezza I recently fixed this in my repos. You should be able to do the same thing:

  1. Goto Codecov and create a new global upload token https://docs.codecov.com/docs/the-codecov-cli#how-to-get-an-upload-token
  2. Set the global token as a secret for the whole organization using CODECOV_TOKEN https://docs.github.com/en/codespaces/managing-codespaces-for-your-organization/managing-development-environment-secrets-for-your-repository-or-organization#adding-secrets-for-a-repository
  3. Note, I had to also set the same CODECOV_TOKEN in the organizations Dependabot secrets to allow bots to use the token or else the bots will fail when they create PRs, Settings->Secrets and variables->Dependabot
  4. Delete any old CODECOV_TOKEN's that's designated for individual repo settings , just let the global token be used

@mtrezza
Copy link
Member Author

mtrezza commented May 18, 2024

I believe I already did this. If you look at the CI file, you can see the org global token being set.

@mtrezza
Copy link
Member Author

mtrezza commented Nov 1, 2024

Seems to be working

@mtrezza mtrezza closed this as completed Nov 1, 2024
@mtrezza mtrezza unpinned this issue Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:ci CI related issue
Projects
None yet
Development

No branches or pull requests

2 participants