Skip to content

A Github CLI extension script to combine multiple dependabot pull requests into a single pull request.

Notifications You must be signed in to change notification settings

matt-bartel/gh-merge-dependabot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

gh-merge-dependabot

A Github CLI extension script to combine multiple dependabot pull requests into a single pull request. Based loosely on combine-prs-workflow.

Installation

gh extension install matt-bartel/gh-merge-dependabot

Usage

gh merge-dependabot [-n NAME] [--no-push] [--no-pr] [BRANCHES...]
  -n NAME
    Set the name of the generated pull request. Default: "chore: dependabot version updates"
  --no-push
    Do not push changes to the remote. This implies --no-pr.
  --no-pr
    Do not create a pull request.
  BRANCHES
    Optional space separated list of branches to combine. If this is not specified the script will use branches for every pull request opened by dependabot.
  -h, --help
    Display this message.

Examples

Create a new pull request combining all open pull requests created by dependabot:

gh merge-dependabot

Create a new pull request combining remote branches branch-1, branch-2, and branch-3:

gh merge-dependabot branch-1 branch-2 branch-3

About

A Github CLI extension script to combine multiple dependabot pull requests into a single pull request.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages