Skip to content

Uncheck and disable "Delete branch" when branch is protected

Description

When a merge request is from a protected branch, the checkbox to delete the branch on merge should be unchecked, and disabled, with a message explaining why.

Proposal

Links / references

Documentation blurb

Overview

What is it? Why should someone use this feature? What is the underlying (business) problem? How do you use this feature?

Use cases

Who is this for? Provide one or more use cases.

Feature checklist

Make sure these are completed before closing the issue, with a link to the relevant commit.

Edited by Mark Pundsack