Restrict protected tag creation to specific branch
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=26786) </details> <!--IssueSummary end--> ### Problem to solve I can not guard to create a protected tag on feature branches. ### Further details If you are using Git flow or GitHub flow, you only need to create protected tags on master branch. If you are using GitLab flow, you only need to create protected tags on stable branches. ### Proposal I think that the branch on which you want to create a protected tag is a protected branch. So add a setting on which protected branches to create protected tags. ### Relevant issues gitlab-ce#27818 gitlab-ce#37012
issue