-
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
v4 action and "You do not have permission to perform this action." #1273
Comments
@rohan-at-sentry, do you mind taking a look into this? Looks like a global upload token thing |
@hellt can you confirm that you pulled the token from the Codecov org page, not the repo page. And just to confirm that you've added it as an organization secret |
I've got the token from my codecov account (https://app.codecov.io/account/gh//org-upload-token) and added it as my Org secret |
@hellt the link in your last comment omits the username that you're getting the org upload token for. are you getting it for your own account (hellt) or for the owner of the repo in your logs (srl-labs)? in this case you'll need the latter if that's the issue, the same page should have a dropdown where you can select other orgs. if you can't see the org token page for srl-labs you'll need to find someone who is an admin in codecov if that isn't the issue, let us know |
Thanks @matt-codecov! |
Still seeing problems with dependabot originated pull requests, even if I also added |
Hi @ssbarnea , The action logs say the token starts with a 1. That does seem to match what I see as your upload token for that repo. Can you double-check? |
The 'codecov-action@v4' requires an organization-level upload token, not a single repo upload token, so we're temporarily downgrading it until we can generate an organization-level upload token. Reference: codecov/codecov-action#1273
The 'codecov-action@v4' requires an organization-level upload token, not a single repo upload token, so we're temporarily downgrading it until we can generate an organization-level upload token. Reference: codecov/codecov-action#1273
@drazisil-codecov Seeing the same issue - I've added |
The 'codecov-action@v4' requires an organization-level upload token, not a single repo upload token, so we're temporarily downgrading it until we can generate an organization-level upload token. Reference: codecov/codecov-action#1273
Hi,
I am facing issues with codecov v4 update.
Starting with docs not being updated to mention the new global token requirement (outside of the action repo).
I then added the token to my org, but now the codecov action defined like this:
errors with:
Is there anything else besides the upload token that needs to be done to make v4 work?
The text was updated successfully, but these errors were encountered: