Configuring branch protection
How to
Require Aviator Verify to pass before PRs can merge by adding it to your GitHub branch protection rules.
Prerequisites
Admin access to the GitHub repository
Aviator Verify enabled for the repository
Steps
1. Open branch protection settings
In GitHub, go to your repository’s Settings → Branches.
Click Add rule or edit an existing rule for your protected branch (usually main).
2. Require status checks
Under “Protect matching branches,” enable:
☑ Require status checks to pass before merging3. Add the Verify check as required
In the search box, type "aviator" and select:
This makes verification a required check. PRs cannot merge until verification passes.
4. Optional: Require branches to be up to date
Enable this option if you want PRs to be based on the latest target branch:
This helps avoid merge conflicts but can create more CI load.
5. Save changes
Click Save changes at the bottom of the page.
Testing the configuration
Open a PR for a branch where you've submitted an intent through the MCP. You should see:
The
aviator/verifycheck appears.Merge button is disabled until verification passes.
If verification fails, the PR cannot be merged (without admin override).
Bypassing verification
Admins can bypass branch protection for emergencies. This is logged in both GitHub and Aviator audit trails.
To allow admin bypass:
Add users or teams who should have bypass ability.
Multiple required checks
You likely have other required checks (CI, tests, linting). The aviator/verify check works alongside them:
All checks must pass for the PR to merge.
See also
Last updated
Was this helpful?
