main.
The Mintlify GitHub App must have bypass permissions on every ruleset that targets your deploy branch, including rulesets defined at the organization level and the repository level. If any ruleset is missing the bypass entry, the workflow creates a PR, but does not merge it.
Prerequisites
- Repository admin access (and organization admin access if there are org-level rulesets)
- Mintlify GitHub App installed on the repository
- One or more rulesets targeting the
mainbranch (at the org or repo level)
Steps
Repeat these steps for every ruleset that applies to your deploy branch. Both organization-level and repository-level rulesets.Navigate to rulesets
- Repository rulesets: On GitHub, go to your repository’s Settings -> Rules -> Rulesets.
- Organization rulesets: Go to your organization’s Settings -> Rules -> Rulesets.
Add the Mintlify GitHub App to the bypass list
- Under Bypass list, click Add bypass.
- Search for and select the Mintlify GitHub App.
- Set the bypass mode to Always.
Verify the setup
- For contributors: Open a PR targeting
main. Confirm that it still requires approval and passing status checks before the merge button is enabled. - For workflows: Trigger a workflow with automerge enabled. Confirm that the workflow runs and successfully merges a PR.