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

Docs: Add instructions for required Actions settings #359

Open
2 tasks done
penx opened this issue Jan 31, 2023 · 5 comments · May be fixed by #361
Open
2 tasks done

Docs: Add instructions for required Actions settings #359

penx opened this issue Jan 31, 2023 · 5 comments · May be fixed by #361

Comments

@penx
Copy link

penx commented Jan 31, 2023

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

During setup I received

Error: Unprocessable Entity: "GitHub Actions is not permitted to approve pull requests."

This is easily solved by checking "Allow GitHub Actions to create and approve pull requests" in Settings > Actions > General, but this isn't currently mentioned in the docs.

Screenshot 2023-01-31 at 23 01 41

@simoneb
Copy link
Collaborator

simoneb commented Feb 1, 2023

Thanks for reporting this. Would you like to send a PR to document this requirement?

@simoneb
Copy link
Collaborator

simoneb commented Feb 1, 2023

I wonder though, the token in the workflow is required to have certain permissions, as described in the docs. It looks like these permissions are no longer enough to approve pull requests. https://github.com/fastify/github-action-merge-dependabot#usage

@penx
Copy link
Author

penx commented Feb 1, 2023

Setting permissions in the workflow yaml and checking this setting was enough for me to get it working on a new rep. I didn’t need to create a new token. I think the current docs infer this but just don’t mention the setting.

@penx
Copy link
Author

penx commented Feb 1, 2023

I can send a PR but won’t be today so I may need reminding 😄 actually may have 10 mins now

@penx
Copy link
Author

penx commented Feb 1, 2023

Using it here if you need to reference.

https://github.com/penx/remix-google-cloud-functions/

@penx penx linked a pull request Feb 1, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants