Queue to Main

Guide · GitHub plans · facts and prices re-read 2026-11-03 (first checked 2026-10-20)

Can you use GitHub’s merge queue on the Team plan?

Short answer: not for private repositories. GitHub’s docs say merge queues are available for organization-owned public repositories, and for private repositories only when the organization is on GitHub Enterprise Cloud (on GitHub Enterprise Server, for any organization-owned repository). On GitHub Team, the “Require merge queue” option is not available for a private repo. Source: GitHub Docs, merge queue availability, re-read 2026-11-03; the same scope was announced at general availability in July 2023.

If your repos are public, you can use the native queue on any organization plan. If they are private and you are on Team, below are the options we know of, with what each costs.

“Enterprise only” means either Enterprise product: on self-hosted GitHub Enterprise Server, GitHub’s docs say merge queues are available in any organization-owned repository, private ones included (Enterprise Server docs: Managing a merge queue, re-read 2026-11-03, version 3.22). On GitHub.com, it is Enterprise Cloud.

What a merge queue prevents

Two pull requests can each pass CI against an older main, then break main once both are merged. Neither PR was ever tested with the other. A merge queue tests each PR on top of the latest base branch plus the PRs ahead of it, and only merges it if that combination passes. GitHub describes the feature as a way to merge into a busy branch while ensuring the branch is never broken by incompatible changes, without making authors update their branches and wait for checks themselves (Managing a merge queue).

How often this bites depends on how many PRs you merge a day and how long CI takes. With a few developers and a short CI run, it may be rare. With more people and a slow suite, a red main blocks everyone until someone finds and reverts the pair.

Do you need a queue at all?

Maybe not. If your team merges a few PRs a day and CI is short, two PRs breaking main together may almost never happen, and “Require branches to be up to date” (option 4 below) is free. GitHub’s own docs say a queue is particularly useful on branches with a relatively high number of pull requests merging each day from many different users (Managing a merge queue). Graphite, which sells a merge queue, writes in its best-practices guide that a team of up to about 10 developers probably doesn’t need one unless it opens a high volume of PRs (Graphite: merge queue best practices, re-read 2026-11-03). A queue starts to pay off when a red main or the “Update branch” race costs your team time every week. If the “Update branch” race is your main pain, our guide to out-of-date PR branches compares five ways out, from looser checks to a queue.

Options for private repos on GitHub Team

1. Upgrade to GitHub Enterprise Cloud

This gets you the native queue: no extra app, set up in branch protection or rulesets. GitHub’s pricing page on 2026-11-03 lists Team at “$4 USD per user/month” and Enterprise at “$21 USD per user/month” (on 2026-10-21 Enterprise read “Starting at $21”). Enterprise is a whole-organization upgrade with many other features. If the queue is the only reason, the difference is about $17 per user per month at those listed prices (our arithmetic). The same page offers a free 30-day trial that includes GitHub Enterprise.

Your GitHub Actions workflows also need the merge_group event so required checks run on the queue’s branches (docs). To add pull requests to the queue or read it from scripts, see GitHub merge queue API.

2. A hosted merge queue (GitHub App)

Several companies sell merge queues that work on private repos on any GitHub plan. Prices from their own pricing pages, re-read 2026-11-03; per-seat totals are list price × seats, our arithmetic:

ToolFree tierPaid price with a merge queue10 devsSource
MergifyUp to 5 active contributors$21 per seat per month (15% off yearly)$210pricing
AviatorFree plan lists no MergeQueueTeam: $20 per developer per month, up to 10 repos$200pricing
GraphiteNo merge queue on Hobby or StarterTeam: $40 per user per month, billed annually$400pricing
TrunkMerge queue for up to 5 committersTeam: $18 per committer per month (billed monthly)$180pricing

These products do more than queue (batching, parallel lanes, stacked PRs, flaky-test handling, depending on the tool). Check their pages for current terms; prices change.

3. A free open-source GitHub Action

igorjs/gh-actions-merge-queue (MIT) is a first-in, first-out queue built as a GitHub Action you add to your own workflows. Its README says it works on private repos with the default GITHUB_TOKEN. It costs nothing but your CI minutes. On 2026-11-03 the repo was still small (4 commits); it needs manual branch-protection setup and starts in a “shadow” mode. You run and maintain it yourself. Used bors-ng or Kodiak before? bors-ng is retired; what still works on a private repo is in bors-ng is retired: merge queue options.

4. “Require branches to be up to date before merging”

Available on Team for private repos via branch protection. With strict status checks, a PR can only merge when its branch contains the latest base branch (About protected branches). That gives you the same guarantee as a queue: what merges was tested against current main.

The cost is people and CI. Every time someone else merges, every other open PR is out of date: its author clicks “Update branch”, waits for CI again, and races the next merge. GitHub’s docs note this setting may need more builds. If you also dismiss stale approvals, an update can dismiss an approval and need a re-review. It is free and works fine at low merge volume; it gets slow when several PRs are ready at once.

5. Queue to Main (our product)

Disclosure: I built this; it’s the product this site is for. Queue to Main is a GitHub App for private repos on GitHub Team: label a PR queue, it creates a test branch with the latest base plus the PR, waits for your required checks, and merges if they pass. One PR at a time: no batching, no parallel lanes, no uptime guarantee, and if it is down your normal merge flow still works. The price is $49 per month per GitHub organization for up to 25 active contributors, with a 14-day trial. Each queued PR runs your CI once more, on your CI bill. It is open for installs; paid plans aren’t open yet, so it is free to use until they are. See the overview and setup doc.

How to decide

Sources (first read 2026-10-20, all re-read 2026-11-03)

This page describes GitHub plans and third-party tools as we found them on the date above. Plans and prices change; check the linked pages before you decide.