Whitelist GitHub Action Servers to upload without a token

@ibrahim0814 I’ve just tested it, works well now! Thank you so much! :pray:

Haven’t tried yet - just wanted to find out.

Great news, thank you!

This is how I added it to a Python project using tox and pytest with the bash uploader:

  • Use --cov-report xml to make sure there’s an XML report for the bash uploader
  • Set CODECOV_NAME env var to get a better build name than ‘49998760’
  • curl the uploader to a local file for Windows compatibility
  • call it with bash so as not to worry about permissions on Linux/macOS

One surprising thing: on the PR, I got 3 comments from @codecov-io, and 3 comments from @tmc. Any idea what’s happening there?

1 Like

Can I ask you to revoke and add back the Codecov app on GitHub, or add if if you don’t have it? Duplicate comments from both Codecov and the user are usually caused by confused permissions on our end.

I don’t have access to do it for that repo, but I’ve asked the owner to do it. It’s a strange issue, because as far as I can see, @tmc has no relation to the repo.

Thanks!

1 Like

There is an issue with token-less uploads in GH action. I’ve tested the same workflow with token, it looks to work fine.

Is it known issue?

Looks like this has been fixed via error: upload was rejected because the workflow run is either not in-progress... · Issue #68 · codecov/codecov-action · GitHub