-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
After update, Error 403: Resource not accessible by integration #208
Comments
I don't think this is an issue in the action, it sounds like you might have an issue with your repo (was it forked?) or your workflow file is formatted incorrectly. Checkout this issue which sounds similar: actions/toolkit#465. The issue they had was that it was a forked repo and secrets aren't available in those repos. |
I'm a bit confused by this. I'm using a fork, that is a fork repo from another of my repositories. |
Think the solution is this: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs. I had this same issue thinking it was the docker container. I needed to set the I haven't tracked down why this repo in the organization needed this set for its workflows. The other repos didn't need it.
EDIT: Adding a mention to the original issue since it didn't link correctly #129 |
Why would there need to be a "write" permission? What's being written? I thought my workflow failed because it was trying to read the GITHUB_TOKEN from its source repository. |
From my understanding, it needs the |
Thanks for bringing some context. I've tested and it works using your solution. |
Need permission to write to the Releases tab now. See: ncipollo/release-action#208. Issue: #2.
Confirming this works on a fork.
|
You might want to double check the action settings in your repository. It's possible you don't have write access by default (Settings --> Action --> General --> Workflow permissions) |
That was set to |
@ncipollo Thanks, that solved my problem. |
I've noticed that I run into this issue in a forked repo only when I define a Creating a release without a commit and the release and tags are created fine, with the commit and it fails. |
GREAT INFO BROO |
- getting release-action error "Error: Error 403: Resource not accessible by integration" - found this issue ncipollo/release-action#208 that says to add write permission? Trying.
This issue was closed but it persists
https://github.com/ncipollo/release-action/issues/129
I'm facing the same issue w/ github.com - i can't even use a personal token - if i do that I get the error "Error: Error undefined: Parameter token or opts.auth is required"
The text was updated successfully, but these errors were encountered: