gh mergeprs
helps you merge multiple PR easily. It is a wrapper around gh pr merge
allowing you to merge multiple PRs at once by selecting them from a list with fzf.
This usually useful when used with dependabot PRs, to merge them all at once.
gh extension install chmouel/gh-mergeprs
gh mergeprs
if you add a -l
it will filter the pr that has the label you specify
example:
gh mergeprs -l "dependencies"
If you add the flag -c
it will use the gh pr checks
command to check if the PR has any failing checks and will not merge it if it does.
by default it will ask you if you want to merge the pr, unless you specify the option -s
When you add the flag -a
it will not ask you with fzf which PR but select all of them. Usually combined with the -s
flag. This may be dangerous if you don't combine it with the -c
flag
Chmouel Boudjnah
- Fediverse - <@chmouel@fosstodon.org>
- Twitter - <@chmouel>
- Blog - <https://blog.chmouel.com>