sprucehealth/Auto-merge Main Branch Into Pull Requests

This action will helps your organization by automatically merging new commits to your main branch into open Pull Requests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
githubTokena scoped Github token which the action will use to run on your Pull Requests. See the following for an example: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#example-1-passing-the-github_token-as-an-inputyesmain
waitMillisecondsan optional forced wait time (in milliseconds) before this action runsno0
mainBranchNamethe name of the main branch for your reponomain
alwaysMergeIntoAutoMergePRswhen true, `main` will be merged into all PRs with Auto-Merge turned on, regardless of any other conditionsnofalse
alwaysMergeIntoAutoMergePRsWhenApprovedwhen true, `main` will be merged into all PRs with Auto-Merge turned on and a PR has been approved, regardless of any other conditionsnofalse
onlyMergeMainForDraftPullRequestsset to `true` if you would like this action to only run on Pull Requests in the Draft statenofalse
onlyMergeBranchesWithPrefixesan optional comma-separated list of branch name prefixes. This action will only run on Pull Requests whose branch names start with one of these prefixes.nofalse
onlyPullRequestsWithLabelsan optional comma-separated list of Pull Request labels required for this action to run on a given Pull Requestnofalse
skipPullRequestsWithLabelsan optional comma-separated list of Pull Request labels which, when present, will prevent this action from runningnofalse
maxNumberOfRandomlySelectedPRsToMergeMainIntoan optional maximum number of randomly selected Pull Requests to merge main into. If set, only this many PRs (or fewer if fewer qualify) will be randomly selected from all qualifying PRs and have main merged into them.no50

no outputs