parse-server
parse-server copied to clipboard
Codecov not working
trafficstars
New Issue Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Issue Description
Codecov doesn't work; nothing we can do ATM, see https://github.com/codecov/codecov-action/issues/1262. We'll consider this when reviewing failing workflows in PRs.
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 I recently fixed this in my repos. You should be able to do the same thing:
- Goto Codecov and create a new global upload token https://docs.codecov.com/docs/the-codecov-cli#how-to-get-an-upload-token
- Set the global token as a secret for the whole organization using
CODECOV_TOKENhttps://docs.github.com/en/codespaces/managing-codespaces-for-your-organization/managing-development-environment-secrets-for-your-repository-or-organization#adding-secrets-for-a-repository - Note, I had to also set the same
CODECOV_TOKENin 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 - Delete any old
CODECOV_TOKEN's that's designated for individual repo settings , just let the global token be used
I believe I already did this. If you look at the CI file, you can see the org global token being set.
Seems to be working