github/combine-prs

Combine multiple PRs into a single PR

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Feb 24, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: github/combine-prs@2909f404763c3177a456e052bdb7f2e85d3a7cb3 # v5.2.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenThe GitHub token used to create an authenticated client - Provided for you by default!yes${{ github.token }}
branch_prefixThe prefix of the branches to combineyesdependabot
pr_titleThe title of the pull request to createyesCombined PRs
pr_body_headerThe header of the pull request bodyyes# Combined PRs ➡️📦⬅️
min_combine_numberThe minimum number of PRs that have to match criteria in order to create a combined PRyes2
branch_regexThe regex to match the branches to combine - more control than branch_prefixno""
ci_requiredWhether or not CI should be passing to combine the PRyestrue
review_requiredWhether or not a review should be required to combine the PRnofalse
combine_branch_nameThe name of the branch to combine the PRs intoyescombined-prs-branch
ignore_labelThe label to ignore when combining PRsyesnocombine
select_labelThe label marking PRs that should be combinedno""
labelsA comma seperated list of labels to add to the combined PRno""
assigneesA comma seperated list of assignees to add to the combined PRno""
autocloseWhether or not to close combined PRs if the combined PR is mergednotrue
update_branchWhether or not to update the combined branch with the latest changes from the base branch after creating the combined pull requestnotrue
create_from_scratchWhether or not to start from a clean base branch when (re)creating the combined PRnofalse
namedescription
pr_urlThe pull request URL if a PR was created
pr_numberThe pull request number if a PR was created