Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.91 KB

merge_requests_approvals.md

File metadata and controls

43 lines (32 loc) · 1.91 KB
stage group info type
Create
Source Code
To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
reference, concepts

Merge request approvals (PREMIUM SELF)

Introduced in GitLab 12.8.

Merge request approval rules prevent users from overriding certain settings on the project level. When enabled at the instance level, these settings cascade and can no longer be changed:

To enable merge request approval settings for an instance:

  1. On the left sidebar, expand the top-most chevron ({chevron-down}).
  2. Select Admin Area.
  3. Select Push Rules.
  4. Expand Merge request approvals.
  5. Choose the required options.
  6. Select Save changes.

Available rules

Merge request approval settings that can be set at an instance level are:

  • Prevent approval by author. Prevents project maintainers from allowing request authors to merge their own merge requests.
  • Prevent approvals by users who add commits. Prevents project maintainers from allowing users to approve merge requests if they have submitted any commits to the source branch.
  • Prevent editing approval rules in projects and merge requests. Prevents users from modifying the approvers list in project settings or in individual merge requests.

See also the following, which are affected by instance-level rules: