Skip to content

Allow for multiple branches in status check

Alexander Turinske requested to merge 376192-update-status-check into master

What does this MR do and why?

Allow for multiple branches in status check

  • turn on multiple feature for protected branches component
  • display multiple branches in table

Changelog: added

EE: true

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Scenario Screenshot
Dropdown Screenshot_2024-05-20_at_15.52.22
Table Screenshot_2024-05-20_at_15.52.33
Single branch Screenshot_2024-05-20_at_15.53.43

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Visit a projects settings page and open the Merge requests > Status checks section (e.g. http://gdk.test:3000/gitlab-org/gitlab-test/edit#js-merge-request-settings)
  2. Create or edit a status check and test that you can select multiple branches
  3. Confirm all protected branches are shown in the table

Related to #376192 (closed)

Edited by Alexander Turinske

Merge request reports