For the complete documentation index, see llms.txt. This page is also available as Markdown.

Managing Pull Request Approval Rules

Written for the Old UI

Overview

This article explains how to manage your Pull Request Approval Rules. See each of the following sections to learn how to:

Add Approval Rules

For detailed instructions on adding a Pull Request Approval Rule, see the following article.

Managing Approval Rules

1

Access Approval Rule

  1. Click Settings from the left sidebar menu.

  2. Click the General tab.

  3. Click Pull Requests.

2

Disable Approval Rules

Disabling the Pull Request Approval rules disables all rules, so Pull Requests no longer require approval before merging. This is useful when you need to merge a Pull Request but can’t wait for the required number of approvals. After you finish merging the Pull Request, re-enable the Approval Rules.

Smart Merge is the recommended method for merging two branches when you want to bypass the formal Pull Request review process. See the following article to learn how to perform a Smart Merge.

  1. Click the Enable toggle.

  2. Click Save to disable the Approval Rules.

3

Edit Approval Rules

The Branch Selection and Approval Count of each rule can be edited.

To edit a rule, follow the same steps as when adding a rule. For more detailed instructions, see the article below.

  1. Edit a rule’s branch selection or approval count.

  2. Once all edits are made, click Save to apply the rule changes.

4

Delete Approval Rule

An Approval Rule that is no longer needed can be deleted.

  1. Click the Trashcan icon next to the Approval Rule to remove.

  2. Remove as many rules as needed.

  3. Click Save to apply the rule deletions.

Last updated

Was this helpful?