简体   繁体   中英

Disable “Merge” button in PR until certain conditions are met? (BitBucket Cloud)

Could somebody hint me if it's possible to disable the "Merge" button in PR (bitbucket cloud) until certain conditions are met? Irregardless of whether this would be a setting or even a custom plugin written from the scratch. Any plausible option would do.

PS Basically what I'm looking for the "Merge Checks" functionality substitute which is sadly available for bitbucket premium only. 在此输入图像描述

由于它们使功能溢价,我遗憾地认为该功能不是以另一种方式提供的。

Try External Merge Check Hook Plugin https://github.com/reconquest/atlassian-external-hooks/wiki/Configuration
Write any script and put in in a hooks directory.
This plugin disabled Merge button if script exit code is different of 0.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM