Reputation: 3856
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
Reputation: 3856
Formal answer from Bitbucket:
This is currently not supported by Bitbucket cloud. It is only supported by Bitbucket Server
Upvotes: 5
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