Skip to content

Branch rules settings: Fix empty state

What does this MR do and why?

Branch rules settings: Fix empty state by migrating it to use the empty slot

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
before after

How to set up and validate locally

  1. Create a new project
  2. Go to /-/settings/repository#branch-rules
  3. Check branch rules empty state (delete default rule if it exists)

Related to #499695 (closed)

Merge request reports

Loading