Skip to content

chmouel/gh-mergeprs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

gh-mergeprs - merge multiple Pull Requests easily

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.

Installation

gh extension install chmouel/gh-mergeprs

Requirements

Usage

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

Copyright

Apache-2.0

Authors

Chmouel Boudjnah