[go: up one dir, main page]

Skip to content

Remove Merge Request suggestion for protected branches

Description

This is a minor annoyance, but currently, any time you push to a non-default branch you get a reminder at the top of the project to create a Merge Request. Sometimes, especially on protected branches, and where we are using the GitLab Flow method of using "Production" branches, branches will always be merged into but never from. In my case from the below screenshot I've merged master to Production-App, a protected branch that triggers a production build, and will never want a merge request going in the other direction.

image

Proposal

Add a setting to turn off this reminder for specific protected branches as one of the branch specific options on the Protected Branches screen.

Links / references

https://about.gitlab.com/2014/09/29/gitlab-flow/