CODEOWNERS - Default always gets applied in addition to Sections
We are on GitLab Enterprise Edition 13.7.0-rc3-ee.
Following the docs our (edited for brevity) CODEOWNERS is like so:
# DEFAULT (catch-all for when there is no other match)
* @default-approvers
[Section]
/path/ @section-approvers
Current behaviour we are observing for Merge Requests is that Approvals from both @default-approvers and @section-approvers are required.
However what we expect is that the default is only applied when there is no other match.
The docs say "the last pattern matching for each section is applied." Does that mean that although default has no section it is applied as if it was in its own "section"? The docs do not explain this, and we consider this to be an unexpected behaviour.
Edited by Emily Chang