user972014
user972014

Reputation: 3856

Bitbucket Cloud - prevent creation of tags in repository

I'm trying to prevent pushing any tags to the repository

I tried using "Branch Permissions" to prevent the creation of * branches, but it doesn't seem to effect tags. Any ideas?

Upvotes: 6

Views: 2979

Answers (2)

user972014
user972014

Reputation: 3856

Formal answer from Bitbucket:

This is currently not supported by Bitbucket cloud. It is only supported by Bitbucket Server

Upvotes: 5

Andreas Wederbrand
Andreas Wederbrand

Reputation: 39961

The pattern for tags is refs/tags/*, restrict access to that branch and it shouldn't work to push tags.

Additional info bitbucket/atlassian seems to agree

Upvotes: 1

Related Questions