I'm using the Bitbucket Cloud addon from Mibex Software, and have a CODEOWNERS file in the root of my repo.
@no-check-group`
@no-check-group` I am still seeing the merge checks being applied and blocking my PR until they are satisfied.
My codeowners looks as below:
# Define single owner groups to avoid _requiring_ approval ALL from these owners
# on every PR but allow them to be relied on as additional approvers for merge checks
@steve-d @Steve D
@steve-k @Steve K
@thomas @Thomas
# NOTE: bitbucket-repo-admin includes Thomas and Steve D
# from above but not Steve K or Chinh
# Define merge check and no check groups
@bitbucket-repo-admin @Steve K @Chinh
@merge-check-group
# Most files in the repo don't need a merge check from code owners
# we rely on bitbucket built-in merge checks for those.
# The no check group mirrors the merge check group, but simply has no check
# rules defined further down, unlike the merge check group.
@no-check-group
# Gitops path requires merge checks to pass
@steve-k
@steve-k
# EITHER: 2 approvals from the merge check group,
# OR: one approval from there
# AND an approval from either Thomas and Steve D, or Thomas and Steve K, or
# Steve D and Steve K
# This is intended to be a merge check on the goff path above
@steve-k >= 1)))))
# EITHER: 2 approvals from the merge check group,
# OR: one approval from there
# AND an approval from either Thomas or Steve K
# This is intended to be a merge check on the rest of the gitops path above
@steve-k >= 1))))