[go: up one dir, main page]

Skip to content

Protect branches by naming standard with wildcard

The feature is pretty straight forward. Our GIT workflow makes us create a new branch per release and this release branch should be protected. It would be nice to be able to protect any branches that matches a naming standard (ie.: "release/*").

Actual Behavior

Every time we create a new release, therefore a new release branch, the project administrator has to go and protect that newly created branch.

Expected Behavior

The project administrator configures a protected set of branches by specifying its naming standard (ie.: "release/*"). Every time we create a new release, therefore a new release branch, the branch is already protected.

Extra Idea

Since our workflow enforces many naming standards, having the configuration of protected branch on the entire server could also be interesting (ie.: Always protect the "build" branch).

Edited by 🤖 GitLab Bot 🤖