Skip to content

Add branch rules section

Jacques Erasmus requested to merge 362205-branch-rules-section into master

What does this MR do and why?

Adds a Branch rules section to Project > Settings > Repository.

Note this MR is part of a bigger effort to move branch protections and MR approval rule configuration under one shared location called "Branch rules".

MR breakdown

title note
Add branch rules section in repository settings (behind a FF) 👈 this MR
Set up a new Branch rules page (empty) follow-up
Add Branch rules endpoint to Project routes follow-up

Screenshots or screen recordings

Screenshot_2022-05-23_at_13.07.05

How to set up and validate locally

  1. Enable the branch_rules feature flag.
  2. Navigate to Project > Settings > Repository > Branch rules

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #362205 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading