Add Merge requests section to the group settings
Proposal
Similar to the Disable self-approval at the instance level, this proposal is asking for a "Pipelines must succeed" checkbox in the group area that takes precedence over any project-level "Pipelines must succeed" checkboxes. This should go under the Group > Settings > General screen.
Implementation Plan
- Add a new
Merge requestssection to the group settings. - Add a group setting for
Pipelines must succeedusing the shared cascading settings checkbox.- It should be enforced with a
🔒 if enforced by a parent group
- It should be enforced with a
- Add a group setting checkbox for
Enforce for all subgroups and projects.- When checked, lock the setting.
- When locked by a parent, don't show the checkbox.
- Update the project > merge request settings to be disabled and show a
🔒 when enforced.- When locked, disable both
Pipelines must succeedandSkipped pipelines are considered successful. - Check that
Skipped pipelines are considered successfulis always false.
- When locked, disable both
- Add specs for the group view and update project setting spec.
- Update documentation.
Edited by Nate Rosandich