...
Changes:
Add support for ANDing merge checks on same line
Allow combining
OverallCheck
andAllGroupsCheck
with other merge checksChanged when OR checks are active (BREAKING)
For combined Merge checks with OR/AND, the inactive Group checks are stripped and the remaining checks must be fulfilled, that the pull request can be merged.
Example:
Code Block |
---|
@@@JavaDevs @matt @ann @peter
@@@TeamLeads @doris
*.java @@JavaDevs
*.adoc @@TeamLeads
(Check(@@JavaDevs >= 2) | Check(@@TeamLeads >= 1)) |
Old, up until 4.x: when a PR contains one file
foo.java
, the complete OR merge check was disabled. Thus, no merge checks were enforced.New, starting with 5.x: when the PR contains one file
foo.java
, the matching merge checkCheck(@@JavaDevs >= 2)
is active, while the inactive merge checkCheck(@@TeamLeads >= 1)
got stripped. Thus, it is required that two Java Devs approve the PR.
For all the details, go to Merge Checks (since version 5) - only Data Center / Server 🗄 - (WIP)
Dropped support
Support for Bitbucket 6 dropped with this release.
We recommend to upgrade to current version of Bitbucket.
...