Add MR settings support for group (EE frontend)
This MR completes this issue and this epic at the same time: #372040 (closed) & &8704 (closed)
There are 3 settings that project maintainers can use to control when merges happen:
- only_allow_merge_if_pipeline_succeeds
- allow_merge_on_skipped_pipeline
- only_allow_merge_if_all_discussions_are_resolved
Regulated customers want the ability to control these options at the group level setting (only accessible by Group Owners), that cannot be overridden by the project level setting.
In order to facilitate the code review, I divided it into these MRs:
-
part 1
: Add backend support for group MR settings -
part 2
: Add frontend support for group MR settings -
part 3
: Add MR settings support for group (EE backend) -
part 4
: Add MR settings support for group (EE frontend)
Screenshots or screen recordings
Add Merge requests > Merge checks
settings support for group level.

What does this current MR do and why?
- This MR introduces merge request settings UI for group
- It also fix a bug when the user’s preferred language is not English,
slugify()
method will return''
for all Chinese characters.
How to set up and validate locally
Feature.enable(:support_group_level_merge_checks_setting)
cc @prajnamas
Edited by Zhiyuan Lu