dkarter/Merge Train Action

Safely prepares labeled pull requests for merge-train workflows.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 20, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: dkarter/merge-train-action@f5ab4116d9fdef9ff49068f73362ec72a9c2d8a7 # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
tokenToken used for pull request update/check/comment/merge API calls (requires contents:write, pull-requests:write, issues:write, statuses:read; add checks:write when rerun-failed-checks is enabled).yes
label-nameLabel that marks pull requests as merge-train candidates.noready-to-merge
wait-timeout-secondsMaximum seconds to wait for required checks before blocking.no600
poll-interval-secondsPoll interval in seconds for mergeability and check state.no15
rerun-failed-checksWhether to request one-time rerun for failed required check-runs.notrue
pauseWhether to pause merge-train processing and exit as a clean no-op.nofalse
pause-reasonOptional operator-provided reason emitted in logs when pause is enabled.no""
trust-same-repo-onlyRequire pull requests to originate from the same repository before merge-train execution.notrue
trust-min-author-associationOptional minimum pull request author association (NONE, FIRST_TIME_CONTRIBUTOR, FIRST_TIMER, CONTRIBUTOR, COLLABORATOR, MEMBER, OWNER).no""
trust-author-allowlistOptional comma-separated list of trusted PR author logins; allowlisted authors bypass minimum author association checks.no""
trust-require-approved-reviewRequire GitHub review decision to be APPROVED before merge-train execution.nofalse
auto-delete-source-branchAttempt to delete the merged pull request source branch after merge when safe checks pass (same repository, branch exists, and token can delete refs).nofalse
namedescription
label-nameLabel value used by the action run.
statusFinal state (`merged`, `blocked`, or `noop`) for downstream steps.