Bitbucket Data Center Protect Unmerged Hook
- Supported
Rejects pushes that delete branches involved in active (not merged/declined) pull requests
Configure your hooks
Enable this hook through your repository settings.
On push the hook will check and reject the push
If you try to delete an unmerged branch, the hook will check for this and reject the push.
Once merged or declined, deletes are allowed again
When the target branch is merged or declined, it will be possible to delete it again.
More details
Rejects pushes that delete branches involved in active (not merged/declined) pull requests
Configure your hooks
Enable this hook through your repository settings.
On push the hook will check and reject the push
If you try to delete an unmerged branch, the hook will check for this and reject the push.
Once merged or declined, deletes are allowed again
When the target branch is merged or declined, it will be possible to delete it again.
Privacy and security
Privacy policy
Atlassian's privacy policy is applicable to the use of this app.
Atlassian privacy policy