codecov-action: Error message "Token required because repository is private"

Hi Codecov,

I am trying to use the Codecov github actions in my public repo (https://github.com/drasi-project/drasi-core). Specifically, I am testing by creating a PR from a forked branch. However, I ran into the following error

info - 2024-10-08 16:45:46,986 -- The PR is happening in a forked repo. Using tokenless upload.
info - 2024-10-08 16:45:47,254 -- Process Commit creating complete
debug - 2024-10-08 16:45:47,254 -- Commit creating result --- {"result": "RequestResult(error=RequestError(code='HTTP Error 400', params={}, description='{\"message\":\"Token required because repository is private\"}\\n'), warnings=[], status_code=400, text='{\"message\":\"Token required because repository is private\"}\\n')"}
error - 2024-10-08 16:45:47,254 -- Commit creating failed: {"message":"Token required because repository is private"}

My repository was once private when we set codecov up, and we have changed the visibility to public couple weeks ago. Any idea why this is happening?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

@ruokun-niu thank you, do you mind re-running again? We made a fix on our side

@ruokun-niu got it, taking a look!

Hey @thomasrockhu-codecov , sorry for the late update. Somehow I did not receive the notification at first. I’ll give this a try today or tomorrow