Skip to content

Auto-Label Merge Request Using Branch Naming

Description

Currently, we are able to auto-protect a branch based on certain naming schemes, this is a proposal to auto-Label a merge request based on the naming scheme of the branch you are merging into.

Proposal

Create the ability to automatically label merge requests based on the branch you are merging into. For instance, if an effort has a long running branch, anyone merging into that branch could have the "Project Name" label added to the merge request automatically. Likewise, if a merge request is created targeting a release branch, could auto label it with the "release version" tag.

Overview

Why should someone use this feature? --> For projects with a large number of branches, this allows for easy categorization and sorting What is the underlying (business) problem? --> When looking to get an overview of what is coming to a given branch, currently requires manually looking at the target branch

Feature checklist

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