We released Code Owners 5.0 on 01 Jun 🎉
Download on the Atlassian Marketplace for Data Center and Server
...
Merge checks revisited (breaking changes)
- Add example of changes
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
If an active groupfoo.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.
...