codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

Codecov token not found on v4.4.1

Open chaizeg opened this issue 1 year ago • 5 comments

We started seeing failures when running this action since the latest release (v4.4.1), with the following error message :

Error: Codecov token not found. Please provide Codecov token with -t flag.

Though the token is clearly set :

Run codecov/[email protected]
  with:
    ...
    token: *** <-- token is provided
    ...

chaizeg avatar May 21 '24 10:05 chaizeg

Notice the same issue! #1425

amrit110 avatar May 21 '24 14:05 amrit110

I have the same issue. I workaround this by pinning the version of action to v4.4.0, and everything is working again.

I'm passing codecov_token from the github action secret in a private repo.

pedestrianlove avatar May 21 '24 22:05 pedestrianlove

I have the same issue only on PRs!

marcosschroh avatar May 27 '24 07:05 marcosschroh

Having the same issue here. Codecov is not working for PRs on the same repository, but it's working on PRs from forks.

Tried downgrading the action down to 4.2.0 and the CLI to 0.4.0 without success. Unsure what's the issue here.

fmartingr avatar Jun 03 '24 19:06 fmartingr

Update (using a new comment to notify subscribers)

Managed to make it work by following this PR changes: https://github.com/napari/napari/pull/6701/files

fmartingr avatar Jun 03 '24 21:06 fmartingr

We are now hitting a similar issue to https://github.com/codecov/codecov-action/issues/1487 on our PRs after using v4.5.0 😕

chaizeg avatar Jul 30 '24 14:07 chaizeg