Queue to Main

Guide · CI cost · facts checked 2026-11-03

How many GitHub Actions minutes does a merge queue use on GitHub Team?

Short answer: a merge queue runs your CI once more for every PR it merges (on a branch with the latest base plus the PR), and again whenever it has to rebuild that branch. On a private repo, those minutes come out of your plan’s included Actions compute: $18 a month on GitHub Team, which GitHub’s pricing page shows as 3,000 minutes, at $0.006 per minute on a standard 2-core Linux runner. Past that, you pay the same rate. For a team merging 100 PRs a month with a 12-minute CI run, the queue’s extra runs come to about 1,200 minutes, or $7.20 of compute. Compared with keeping “Require branches to be up to date” on and updating PRs by hand, a queue uses about the same number of runs; compared with turning that setting off, it costs one run per PR. Public repositories and self-hosted runners don’t draw from the included compute at all.

Disclosure up front: I built Queue to Main, a merge queue for GitHub Team, so this page is about a cost my own product adds. Facts about GitHub and Kodiak come from their own pages, read on 2026-11-03; links are in Sources. The worked examples are our arithmetic from those rates.

How GitHub bills Actions on a private Team repo

From GitHub’s Actions billing docs and its runner price list (both read 2026-11-03):

The included amount belongs to the account that owns the repository (your organization), not to each user, and resets every billing cycle.

Where a merge queue adds runs

Every merge queue works the same basic way: before a PR lands, it tests the PR combined with the latest base branch, because two PRs can each pass CI against an older main and still break it together. That combined test is a CI run your PR branch never had. So, per merged PR:

For Queue to Main specifically, from our home page and setup page: each queued PR runs your CI once more on a branch named fmq/<base>/<pr>, and again if the base moves and the branch is rebuilt (up to 5 times, then the PR is dropped with a comment). It tests one PR at a time, with no batching. Those minutes are on your CI bill, not ours.

Worked examples

The extra compute per month is roughly merged PRs × billed minutes per CI run × the runner’s rate, plus one more run per rebuild. “Billed minutes per run” is the sum of every job in the workflows that produce your required checks, each rounded up. The rows below are our arithmetic from GitHub’s rates, without rebuilds; the team sizes and CI lengths are examples, not data about anyone’s team.

Merged PRs / monthBilled minutes per CI runRunnerExtra minutesExtra computeShare of Team’s $18
408Linux 2-core, $0.006320$1.9211%
10012Linux 2-core, $0.0061,200$7.2040%
20015Linux 2-core, $0.0063,000$18.00100%
10012macOS, $0.0621,200$74.40413%

Whether the extra minutes cost you money depends on what your PR runs already use: the included $18 is shared with them. If your normal CI already uses it up, every queue minute is billed at the rate above (with no payment method on file, GitHub blocks further usage until the next billing cycle instead). Check your organization’s Actions usage in GitHub’s billing settings before and after adding a queue.

Compared with the alternatives

A queue isn’t the only way to stop two green PRs from breaking main. In CI runs, per batch of N PRs that are ready to merge at the same time:

ApproachExtra CI runs for N ready PRsEach merge tested on the latest base?Who does the work
Loose checks (“Require branches to be up to date” off), no queue0No: GitHub warns checks may fail after merging if changes don’t work togetherNobody
Strict checks, update only the PR that merges nextAt least N−1 (Kodiak’s docs)YesA person clicking “Update branch”, or a bot
Strict checks, update every open PR whenever main movesAt least N(N−1)/2 (Kodiak’s docs): 15 for 6 PRsYesA script or bot
A merge queue without batching (e.g. Queue to Main, with strict checks off)N, plus rebuildsYesThe queue

So, honestly: a single-lane queue does not save CI minutes over a careful person updating only the next PR; it uses about one run more per batch. It saves minutes only against updating every PR on every merge, and it costs one run per PR against loose checks. What it saves is people’s time: nobody watches for “This branch is out-of-date” and nobody waits to click the button. Our guide to out-of-date PR branches compares those options in more detail.

Where to cut minutes

How to decide

Sources (all read 2026-11-03)

This page describes GitHub’s billing and third-party tools as we found them on the date above. Prices and allowances change; check the linked pages before you decide. Kodiak, Mergify, Trunk, Aviator and Graphite are their owners’ names; we aren’t affiliated with any of them.