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

add troubleshooting of error "Resource not accessible by integration" in create-best-of-list.md #94

Open
matan-h opened this issue May 8, 2022 · 1 comment
Labels
question Further information is requested

Comments

@matan-h
Copy link

matan-h commented May 8, 2022

Describe the issue:
when I try to create a best-of list, I get Error:Resource not accessible by integration at running action-create-branch.
here the pipeline.
I fixed it by go to github Actions general settings,chenge Workflow permissions from default Read repository contents permission to Read and write permissions (I dont know if this was necessary) and check Allow GitHub Actions to create and approve pull requests.

the default was
image

maybe you can add a troubleshooting section it to create-best-of-list.md.

@matan-h matan-h added the question Further information is requested label May 8, 2022
@fkromer
Copy link
Contributor

fkromer commented Feb 4, 2023

@matan-h You need to allow GitHub Actions to create pull requests in addition (https://github.com/fkromer/best-of-pydantic/actions/runs/4091424932/jobs/7056121856#step:7:72) otherwise setup-best-of-list does not create the PR. As workaround you can create a PR yourself from the created branch "setup". I tried to fix it with this settings:

grafik

However the following setup job failed explicitly then: https://github.com/fkromer/best-of-pydantic/actions/runs/4091868272 . Probably there is need for defining permissions explicitly in the workflow (YAML file).

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

2 participants