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

Resource not accessible by integration #44

Open
Araxeus opened this issue May 5, 2022 · 3 comments
Open

Resource not accessible by integration #44

Araxeus opened this issue May 5, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@Araxeus
Copy link

Araxeus commented May 5, 2022

if the action returns an error at the last step (upload step)

curl: (22) The requested URL returned error: 403
{"message":"Resource not accessible by integration","request_id":"0781:601F:1B50E3:29EA8C:62742B19","documentation_url":"https://docs.github.com/rest"}

You have to allow GitHub actions to write to your repository:
image

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository

https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token

@Douile Douile added the documentation Improvements or additions to documentation label May 7, 2022
@katopz
Copy link

katopz commented Mar 26, 2023

Aww, for some reason that option can't be click (appear disabled) even i'm the owner. 😱

@maxall41
Copy link

maxall41 commented Jun 7, 2023

@katopz I have the same issue. Does anyone know how to solve this?

@katopz
Copy link

katopz commented Jun 7, 2023

@katopz I have the same issue. Does anyone know how to solve this?

As I recall (not sure) instead of go to each repos settings actions e.g. 🙅‍♂️

https://github.com/gist-rs/book/settings/actions

you should go to organizations settings actions and globally enable it first 💁‍♂️

https://github.com/organizations/gist-rs/settings/actions

Hint: Replace gist-rs with your org name. HTH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

No branches or pull requests

4 participants