Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scnewma/gh-mass-prs
A simple extension to interactively search, approve, merge PRs from the CLI.
https://github.com/scnewma/gh-mass-prs
gh-extension
Last synced: 1 day ago
JSON representation
A simple extension to interactively search, approve, merge PRs from the CLI.
- Host: GitHub
- URL: https://github.com/scnewma/gh-mass-prs
- Owner: scnewma
- Created: 2023-10-10T22:39:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-10T22:39:02.000Z (about 1 year ago)
- Last Synced: 2024-08-22T13:17:46.607Z (3 months ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gh-mass-prs
A simple extension to interactively search, approve, merge PRs from the CLI.
## Requirements:
* [fzf](https://github.com/junegunn/fzf)
## Install
```
gh extension install scnewma/gh-mass-prs
```## Example Usage
This extension is an interactive wrapper on top of `gh search prs` so you can
provide the same flags to it as to `gh search prs`.```
# view open PRs waiting for your review
$ gh mass-prs --state=open --review-requested=@me# view dependabot PRs waiting for your review
$ gh mass-prs --state=open --review-requested=@me --label dependencies --archived=false
```When in the FZF window, you have the following actions available to you.
* `ctrl-a`: approve the PR
* `ctrl-g`: merge the PR
* `ctrl-e`: approve and merge the PR## Troubleshooting
### Pull request Auto merge is not allowed for this repository
```
GraphQL: Pull request Auto merge is not allowed for this repository (enablePullRequestAutoMerge)
```See [GitHub documentation](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request) for enabling auto-merge.