MergeRamp / DocumentationOne green at a time.

Queue behavior

The PR lifecycle

Follow a queued PR from enrollment through branch updates, required checks, and merge.

Last updated on Read as Markdown

In strict mode, MergeRamp selects an eligible PR, updates it if necessary, waits for required CI to pass, and marks the mergeramp check as passed. GitHub then merges when its branch rules permit. Each step depends on confirmed state from GitHub.

Enrollment and selection

Enable auto-merge on an open PR targeting an enrolled branch. MergeRamp orders it with the other queued PRs and determines eligibility. Drafts, holds, missing approvals, and unknown evidence can prevent selection.

In strict mode, the mergeramp check blocks waiting PRs from merging until it is their turn. See ordering and priority for selection rules.

Branch update

If the selected PR is behind its base, MergeRamp requests a branch update. The queue shows updating while that request is unresolved. An accepted request does not mean the new head commit is already visible. If the PR is still on the same commit a few minutes later, MergeRamp treats the update as not made and decides again, which can mean requesting it again. See unknown action outcomes.

If GitHub refuses the update, for example because it would change a GitHub Actions workflow file, MergeRamp doesn't ask again. Strict mode ejects the PR and optional mode skips it, and the next PR proceeds. See a branch update GitHub refused.

A failed check on an outdated base can be obsolete evidence. MergeRamp updates a behind-base PR before evaluating that failure for ejection.

Required checks

Once the selected PR is current, MergeRamp waits for required CI checks on its latest commit. The queue shows testing while these are pending. Non-required failures do not cause ejection.

A new push or base advance requires fresh evidence. A success from a previous commit is not proof that the current commit has passed.

Authorization and merge

When the selected PR is up to date, eligible, and has passing required CI, MergeRamp marks its mergeramp check as passed. The queue shows awaiting_merge; only a confirmed GitHub merge completes the lifecycle. The queue's recent activity can show that outcome.

If a PR remains unmerged for 20 minutes after its mergeramp check passes, strict mode marks it stuck. MergeRamp does not force the merge. Inspect the GitHub PR for outstanding requirements.

A changed or uncertain state

If a push, hold, or changed requirement makes a PR ineligible, MergeRamp changes its mergeramp check back to a blocking result before passing the check on another PR. If GitHub has not confirmed a change, the repository's queues pause until its result is known. Read failures and recovery.

In optional mode, MergeRamp may update branches and show waiting states, but it does not publish mergeramp checks. GitHub can merge independently.

Still have a question? Contact support with your repository, PR link, and the status you see.