Document `Require approvals from code owners` behavior
When multiple `ProtectedBranch` records match a branch we check if any of the records have `code_owner_approval_required` set to `true`. https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/lib/ee/gitlab/checks/diff_check.rb#L25 https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/models/ee/project.rb#L731 https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/models/concerns/ee/protected_branch.rb#L23 Related to https://gitlab.com/gitlab-org/gitlab/-/issues/393187
想要评论请 注册 或 登录