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.

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#
- Open Repositories.
- Open the repository and select Settings → Merge gate.
- Select Enable merge gate.
- Choose the Blocking severity.
- Select Save merge gate settings.
- Check the policy and select Confirm and save.
- Select Open GitHub repository rules.
- 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.
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.
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.