3dwardch3ng/GitHub Pull Request Action with Auto Merge

Create and Auto Merge GitHub Pull Request

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Aug 7, 2024
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: 3dwardch3ng/github-pull-request@9276e5ed27211d497e55c3d5d4e89a58a04b5509 # v1.0.3

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

namedescriptionrequireddefault
github_tokenThe GitHub Tokenyes
repo_ownerThe repository owneryes
repo_nameThe repository nameyes
remote_nameThe remote name, default is origin if not providednoorigin
source_branchThe name of the branch that the new Pull Request will be merged fromyes
target_branchThe name of the branch that the new Pull Request will be merged toyes
pr_titleThe title of the Pull Requestyes
pr_bodyThe body content of the Pull Request, will use the value of the title if not providedno
draftA draft PR will be created if set to truenofalse
require_middle_branchWill create a branch named SOURCE_BRANCH-merge-to-TARGET_BRANCH to create the Pull Requestnofalse
auto_mergeOnce the Pull Request has been created, whether to merge this Pull Request automaticallynofalse
merge_methodThe merge method when merging the Pull Request, can be "merge", "squash" or "rebase"nomerge
max_merge_retriesWhen merge the Pull Request fails, the maximum number of the retry times.no60
merge_retry_intervalThe interval between each retry, in secondsno60
milestoneThe milestone value of the Pull Requestno
assigneesThe assignees value of the Pull Request, seperated by commano
reviewersThe reviewers value of the Pull Request, seperated by commano
team_reviewersThe team reviewers value of the Pull Request, seperated by commano
labelsThe labels value of the Pull Request, seperated by commano
signoffThe sign off value of the Pull Requestnofalse
namedescription
pull-request-numberThe Pull Request number
pull-request-urlThe Pull Request URL
pull-request-operationThe Pull Request operation, can be "created", "updated" or "merged"
pull-request-createdThe Pull Request created or not
pull-request-head-shaThe Pull Request head sha
pull-request-mergeThe Pull Request merge or not