Skip to main content
Mintlify

Search documentation

Type to search this documentation.

On this pageOverview

Configure automerge for GitHub Apps

Set up GitHub workflows to automatically merge Mintlify pull requests by adding the Mintlify bot to your repository's ruleset bypass list.

Add the Mintlify GitHub App to a ruleset's bypass list so that the app can create and merge pull requests without review and status check requirements blocking it. This lets you configure automations to automatically merge changes to main.

  • 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 main branch (at the org or repo level)

Repeat these steps for every ruleset that applies to your deploy branch. Both organization-level and repository-level rulesets.

  1. 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.
  2. Select the ruleset

    Click a ruleset that targets your deploy branch, which is usually main.

  3. Add the Mintlify GitHub App to the bypass list

    1. Under Bypass list, click Add bypass.
    2. Search for and select the Mintlify GitHub App.
    3. Set the bypass mode to Always.
  4. Save

    Click Save changes.

  5. Repeat for remaining rulesets

    If you have additional rulesets at the org or repo level that target your deploy branch, repeat steps 2–4 for each one.

  1. For contributors: Open a PR targeting main. Confirm that it still requires approval and passing status checks before you can merge.
  2. For automations: Trigger an automation with automerge enabled. Confirm that the automation runs and successfully merges a PR.
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu