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

Error message "Token required because repository is private"

Open ruokun-niu opened this issue 1 year ago • 0 comments

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?

ruokun-niu avatar Oct 08 '24 16:10 ruokun-niu