Skip to content

Allow maintainers to select which tags are eligible for tags

Release notes

Allow maintainers to select which tags are eligible for tags

Problem to solve

We want to be able to limit tagged releases to be on our main branch so that we can effectively avoid testing the 'tag' - our pipeline has tests that can take 10-20 minutes and take up valuable runtime of other users of our GitLab instance. These tests have already been run on the main branch successfully and we just want to make sure no other branches can be made into a tag.

For extra context, we don't use tags in any other way than to deploy to production as it's unnecessary in our workflow. We've had another team ask for this too.

Proposal

Add a new option in settings for tags (completely optional) that can limit branches to which tags can be made from. This could be a selection of all the branches, or a regex field.

Does this feature require an audit event?

No

Edited by Mythirion1