lirantal/Automerge on Green Checks

Safely merge eligible pull requests after their visible checks and statuses are green.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token used to read pull requests/checks/statuses and merge pull requests.no${{ github.token }}
merge-methodMerge method to use. One of merge, squash, or rebase.nosquash
labelPull request label required for automerge when require-label is true.noautomerge
require-labelRequire the configured label before attempting to merge.notrue
allow-forksAllow merging pull requests whose head branch is from a fork.nofalse
green-observations-requiredNumber of consecutive green observations required before merging.no4
poll-interval-secondsSeconds to wait between observations while checks are still pending.no60
timeout-secondsMaximum seconds to wait for a stable green state before failing.no3600
ignored-check-namesComma-separated check run names to ignore when deciding if the pull request is green.noautomerge,Automerge
namedescription
mergedWhether the action merged the pull request.
reasonThe merge or skip reason.
pull-request-numberPull request number considered by the action.
head-shaPull request head SHA considered by the action.
merge-shaSHA returned by GitHub when a pull request is merged.