-
Notifications
You must be signed in to change notification settings - Fork 66
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 bulk pull request approval support #295
Comments
Could you provide more info on the problem? My understanding is that you have approval requirements on repositories, but not administrator bypassing. What addition to the merge command would resolve this? |
Yes. You cannot merge any PR then when not approved. GitHub API will provide the following error message if you try to do so:
To enable merge, a review with approval review action (event=APPROVE) is required. I think your GO GitHub library supports that: I suggest to make this approval an optional option maybe with some additional review comments which can be provided? |
I don't think you can approve your own PR? Even if you could, this would only work when exactly one required reviewer is set, anything more than that would not work. |
No you can't. Sorry for being unprecise in my initial description. This feature would be useful e.g. to bulk approve and merge Dependabot PRs or PRs that somebody else created (with multi-gitter).
Valid point, then maybe approval should be a separate command? |
Even though the merge/close/status commands can be used on PRs not created by multi-gitter, it's not really the use case. If users use those commands for it, that's fine, but changes will not be made because of it.
I think this is the solution if one were to be implemented 🙂 |
Additional / optional pull request approval support would be nice for the merge command.
When you have e.g. GitHub branch protections which do not allow administrator bypassing you cannot bulk merge the changes you created with the run command..
The text was updated successfully, but these errors were encountered: