Skip to content
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

HTTP 403: Resource not accessible by integration #13

Closed
joepio opened this issue Jun 15, 2022 · 6 comments
Closed

HTTP 403: Resource not accessible by integration #13

joepio opened this issue Jun 15, 2022 · 6 comments
Labels
question Further information is requested

Comments

@joepio
Copy link

joepio commented Jun 15, 2022

Hi there! I just got this error:

release not found
HTTP 403: Resource not accessible by integration (https://api.github.com/repos/atomicdata-dev/atomic-data-rust/releases)
Error: Command failed: bash --noprofile --norc /home/runner/work/_actions/taiki-e/create-gh-release-action/v1/main.sh

Example action

Not entirely sure what is causing it, but it probably has to do with github's permission system. Some reported that adding permissions: write-all to the action definition solves the problem. I'm trying that now. If that works, maybe it should be added to the docs.

@taiki-e
Copy link
Owner

taiki-e commented Jun 15, 2022

Duplicate of taiki-e/upload-rust-binary-action#15

@taiki-e
Copy link
Owner

taiki-e commented Jun 15, 2022

Adding permissions field like taiki-e/upload-rust-binary-action#15 (comment) to example sounds good to me.

@taiki-e taiki-e added the question Further information is requested label Jun 15, 2022
@joepio
Copy link
Author

joepio commented Jun 15, 2022

Yup, it worked! Thanks for the quick reply. I think adding it to the docs is a fitting solution.

@lukasz90b
Copy link

permissions: write-all

Thanks for save my time

@lukasz90b
Copy link

Here's docs with list of permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

@taiki-e
Copy link
Owner

taiki-e commented Sep 8, 2022

@lukasz90b FYI, for permissions field, it is already used in examples in readme: 0015858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants