-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload failed: {"message":"Token required because branch is protected"} #1709
Comments
This comment has been minimized.
This comment has been minimized.
@hugovk I'm digging into this, would it be possible to turn |
This is happening to me as well on https://github.com/DTOcean/dtocean. Here's my output with The log output
|
Turned on: https://github.com/python-humanize/humanize/actions/runs/12199990414?pr=220
|
@hugovk, I believe it's turned on for you and not for the org |
@H0R5E the same is true for the org |
@thomasrockhu-codecov, thanks. Sorry for the erroneous report. I thought I'd done this already. Thanks for your help. |
@H0R5E no problem! Was worth digging into myself to figure it out |
Done! I see the mistake I made, mixing up two different orgs here:
I've flipped the toggle and it's working now. Thank you! |
https://github.com/python-humanize/humanize is a public repo which at https://app.codecov.io/account/gh/prettytable/org-upload-token has "Token authentication": "Not required".
However, with codecov/codecov-action@v5.0.7, uploads fail because "Token required because branch is protected":
I have no variables or secrets defined with tokens, and I'd rather not have to do it for each org and each repo in my personal account.
Details
The text was updated successfully, but these errors were encountered: