parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Codecov not working

Open mtrezza opened this issue 1 year ago • 3 comments
trafficstars

New Issue Checklist

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.

mtrezza avatar May 16 '24 17:05 mtrezza

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:

  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

cbaker6 avatar May 17 '24 20:05 cbaker6

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

mtrezza avatar May 18 '24 09:05 mtrezza

Seems to be working

mtrezza avatar Nov 01 '24 17:11 mtrezza