Skip to content

Protect branch merge request by specifying source branch

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

Proposal

Actually I can protect a branch from a merge request by specifying users or roles. It could be useful to protect a branch from a merge request by specifying source branch (with wildcard), for example:

  • I don't want source branch named develop to be merged to any release/*
  • I don't want source branch named hotfix/* to be merged to develop
Edited by 🤖 GitLab Bot 🤖