CODEOWNERS Approval on Protected Branches is optional
Summary
When configuring Protected Branches approval by Code Owners with the Code owner approval toggle active the approval is still optional
Steps to reproduce
- Configure CODEOWNERS as described here: https://docs.gitlab.com/ee/user/project/protected_branches.html#protected-branches-approval-by-code-owners
- Make a change
- Verify the approvals in the MR
Example Project
What is the current bug behavior?
The Approval by CODEOWNERs is optional no matter what the configuration is.
What is the expected correct behavior?
If the Code owner approval toggle is active on a Protected Branch the approval should be mandatory.


