---
title: "Set up a merge gate | Proofline Help"
description: "Require a complete Proofline review before merging a pull request. Choose whether serious and critical findings, or every supported finding, block the gate."
url: https://proofline.sh/help/merge-gate/
---

[Help center](/help/)

# Set up a merge gate

Require a complete Proofline review before merging a pull request. Choose whether serious and critical findings, or every supported finding, block the gate.

[![Repository merge gate enabled with serious and critical findings as the blocking severity.](/help-images/merge-gate-light.png)](/help-images/merge-gate-light.png)

Choose the blocking severity, then require the Proofline gate check in GitHub. Fictional demo workspace.

## Before you start

Use an active repository with a connected GitHub installation and an account that can change its merge policy and GitHub rules. Code-only repositories can enable the gate without linking an environment.

## Enable the gate

1.  Open **Repositories**.
2.  Open the repository and select **Settings → Merge gate**.
3.  Select **Enable merge gate**.
4.  Choose the **Blocking severity**.
5.  Select **Save merge gate settings**.
6.  Check the policy and select **Confirm and save**.
7.  Select **Open GitHub repository rules**.
8.  Add **Proofline gate** as a required status check in the applicable branch protection rule or ruleset.

GitHub blocks merges only when its rules require **Proofline gate**. Proofline reports it only on repositories with the merge gate on, so target the rule at those repositories. A rule that requires it on another repository, such as an organization ruleset that covers every repository, blocks every merge and direct push there.

The separate **Proofline** check turns green when the advisory review finishes. It also turns green when a partial code review returns findings and all enabled environment checks finish. In that case the title still says “review incomplete.” Other incomplete reviews stay neutral. A green review check does not mean there are no findings, that deployment is safe, or that **Proofline gate** allows the merge.

The page checks active GitHub rulesets for the displayed branch. After changing a ruleset, select **Check again** and read the result. If Proofline cannot confirm the requirement, inspect GitHub's rules directly.

## Record approval decisions

**Approval** records whether a change would qualify without submitting a GitHub review. Saved approval limits apply when the merge gate is on. You can prepare those limits while the gate is off; recording decisions requires the gate to be on.

## Use the gate with a merge queue

GitHub's merge queue creates a merge group with its own commit. The repository setting controls how the gate handles that group. [Configure the Proofline gate for GitHub's merge queue](/help/configure-merge-queue-gate/).

## Understand a blocked gate

Check the gate on the current head to see which requirement or open finding blocked it. [Find out why a pull request's merge gate is blocked](/help/diagnose-blocked-merge-gate/).

## Check policy history

Select **View history** to inspect recorded heads and gate decisions. Each head keeps the policy captured for its review trigger. Policy changes apply to new heads.

Disabling the gate leaves existing heads' policies and decisions intact. History also records a GitHub merge that bypasses a blocked gate.

## Related guides

-   [Read a review](/help/read-review/)
-   [Configure review automation](/help/review-automation/)
-   [Review agent-authored pull requests](/help/agent-authored-pull-requests/)
