How do I block all tags from being pushed to a repository

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

Some teams find it necessary to block all tags from being pushed to a repository. 

All current tags will still be available.

Solution

Using branch permissions, add the following branch permission pattern to "Prevent all changes":

refs/tags/**

Restrict it to an admin account so that no other users can push tags.

Last modified on Jun 29, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.