[go: up one dir, main page]

Skip to content

Introduce a direct way to require merge request for protected branches

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

When I want to require everyone to submit merge requests for a protected branch, it is unclear on how to achieve this with the protected branches interface:

CleanShot_2023-01-16_at_21.41.27

Coming from other platforms this could be done with a checkbox.

When looking at GitLab docs https://docs.gitlab.com/ee/user/project/protected_branches.html#require-everyone-to-submit-merge-requests-for-a-protected-branch, what needs to be done is to set the groups for allowed to push and allowed to merge:

  • From the Allowed to merge list, select Developers + Maintainers.
  • From the Allowed to push list, select No one.

Proposal

The current way of setting up the requirement to use merge requests on a protected branch is indirect.

There should be a clear and direct way to enable the requirement to use merge requests on a protected branch. Some ideas are:

  1. Add a checkbox or toggle, that says Require merge requests on protected branches

More ideas welcomed

Intended users

Feature Usage Metrics

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖