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):
- Included compute is a dollar amount, not minutes. GitHub Team includes $18 of compute per month; Enterprise Cloud includes $300. Each runner type has a per-minute rate, and the cost is deducted from that amount. GitHub’s pricing page still lists Team as “3,000 CI/CD minutes/month”, which is the same $18 at the Linux 2-core rate.
- Rates per minute: Linux 2-core (x64) $0.006, Linux 1-core $0.002, Linux 2-core arm64 $0.005, Windows 2-core $0.010, macOS $0.062. A macOS minute costs about ten times a Linux minute.
- Rounding: GitHub rounds the minutes each job uses up to the next whole minute. A run with five jobs of 40 seconds each is billed as 5 minutes, although together they run for just over 3.
- Failed and re-run jobs count. GitHub’s own example: a 10-minute workflow that fails after 5 minutes and then passes on a re-run costs 15 minutes.
- Free: standard GitHub-hosted runners in public repositories, and self-hosted runners. They don’t reduce the included compute.
- Shared pool: other usage draws from the same $18, for example Copilot code review runners on private repos and, on Team, larger runners.
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:
- One extra run on the queue’s test branch.
- One more for each rebuild: if someone merges into the base while a PR is being tested, the test branch is stale and has to be built and tested again.
- Queues with batching (several of the per-seat tools in our Mergify comparison offer batching or parallel testing) can share one run between several PRs when it passes and spend extra runs to find the culprit when it fails. How that nets out depends on your failure rate; we don’t have figures for it, so we don’t claim any.
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 / month | Billed minutes per CI run | Runner | Extra minutes | Extra compute | Share of Team’s $18 |
|---|---|---|---|---|---|
| 40 | 8 | Linux 2-core, $0.006 | 320 | $1.92 | 11% |
| 100 | 12 | Linux 2-core, $0.006 | 1,200 | $7.20 | 40% |
| 200 | 15 | Linux 2-core, $0.006 | 3,000 | $18.00 | 100% |
| 100 | 12 | macOS, $0.062 | 1,200 | $74.40 | 413% |
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:
| Approach | Extra CI runs for N ready PRs | Each merge tested on the latest base? | Who does the work |
|---|---|---|---|
| Loose checks (“Require branches to be up to date” off), no queue | 0 | No: GitHub warns checks may fail after merging if changes don’t work together | Nobody |
| Strict checks, update only the PR that merges next | At least N−1 (Kodiak’s docs) | Yes | A person clicking “Update branch”, or a bot |
Strict checks, update every open PR whenever main moves | At least N(N−1)/2 (Kodiak’s docs): 15 for 6 PRs | Yes | A script or bot |
| A merge queue without batching (e.g. Queue to Main, with strict checks off) | N, plus rebuilds | Yes | The 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
- Only run what the queue needs on its test branches. The queue waits for your required checks. Workflows that don’t produce a required check (preview deploys, docs builds, slow optional suites) don’t need to run on the queue’s branches. For Queue to Main, that means adding
fmq/**only to the workflows that produce a required check, as the setup page says. - Cancel superseded PR runs. When an author pushes twice in a row, the first run is wasted. GitHub’s concurrency docs give this pattern, which cancels an in-progress run only for
pull_requestevents (other events fall back to the unique run ID, so they are never cancelled):concurrency: group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true - Use cheaper runners for light jobs. A lint job that fits on a Linux 1-core runner costs $0.002 a minute instead of $0.006; arm64 Linux 2-core costs $0.005.
- Merge fewer jobs into one. Because each job is rounded up to a whole minute, many tiny jobs cost more than their run time. Folding a few sub-minute jobs into one can save minutes on every run, including the queue’s.
- Self-hosted runners don’t draw from the included compute (you pay for the machine instead).
- Keep the base still while a PR is tested. Every rebuild is another full run. Merging by hand past the queue causes rebuilds, so once you have a queue, send everything through it.
How to decide
- Short Linux CI, under a few hundred PRs a month: the queue’s extra runs are a few dollars of compute at most; decide on whether you need the guarantee, not on minutes.
- macOS or long CI: the extra run per PR matters. Trim the required workflows first, or look at a queue with batching (see our Mergify comparison), which can share one run between several PRs.
- Few merges a day: GitHub’s docs say a merge queue is particularly useful on branches with many PRs merging each day from many different users. Strict checks and updating the next PR by hand may be enough and cost about the same minutes.
- Public repositories owned by an organization: standard runners are free there, and GitHub’s own merge queue is available; minutes aren’t a reason either way.
- 10–25 developers on GitHub Team, one main branch, CI short enough that one PR at a time is fine: that is what Queue to Main is for: $49/month per organization, up to 25 active contributors, 14-day trial, free to use until paid plans open. See how it works, or read why GitHub’s queue isn’t on Team.
Sources (all read 2026-11-03)
- GitHub Docs: GitHub Actions billing: included compute per plan (Team $18, Enterprise Cloud $300), what is free (public repos, self-hosted runners), what shares the pool, the failed-and-re-run example, per-minute rates, usage blocked without a payment method
- GitHub Docs: Actions runner pricing: rates per runner type; each job’s minutes rounded up to the whole minute
- GitHub pricing: Team $4 per user per month, 3,000 CI/CD minutes per month
- GitHub Docs: Control the concurrency of workflows and jobs:
cancel-in-progressand thegithub.head_ref || github.run_idfallback - GitHub Docs: About protected branches: strict and loose status checks, “more builds may be required”
- GitHub Docs: Managing a merge queue: available in public repos owned by an organization and in private repos on Enterprise Cloud; particularly useful with many PRs a day from many users
- Kodiak docs: Configuration reference: at least N(N−1)/2 updates with
update.always, at least N−1 without
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.