---
title: "Configure the Proofline gate for GitHub's merge queue | Proofline Help"
description: "Open the repository's Merge gate settings and choose what Proofline checks when GitHub builds a merge group."
url: https://proofline.sh/help/configure-merge-queue-gate/
---

[Help center](/help/)

# Configure the Proofline gate for GitHub's merge queue

Open the repository's Merge gate settings and choose what Proofline checks when GitHub builds a merge group.

## Use the gate with a merge queue

When the branch uses GitHub's merge queue, **Proofline gate** also reports on each merge group. Set **Merge queue check timeout** to the timeout in the branch's merge queue rule. Proofline cannot read it from GitHub.

Before reviewing the combined change, Proofline checks that each pull request has an allowed gate at its queued head. If a pull request's gate failed, or it has no gate, the merge group fails immediately. If a pull request's own review is still running, for example because it joined the queue right after it was marked ready, the merge group waits for that review and then proceeds or fails with it. A group still undecided five minutes before the timeout also fails, with that reason recorded, so it does not hold the queue until the deadline.

GitHub merges a passing group together with every pull request ahead of it in the queue. So a group passes only after the group of the pull request ahead of it passed. It waits while that group is undecided, and fails when that group failed or GitHub removed it before Proofline decided. Its check then says that a pull request ahead of it did not pass.

If the page says **Merge queue unsupported**, the repository's GitHub installation has not accepted the merge queue read permission. Until an owner accepts it, GitHub sends Proofline no merge group.

## Related guides

-   [Set up a merge gate](/help/merge-gate/)
