Commit 3d35d146 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'docs-gerardo-master-patch-11398' into 'master'

Add troubleshooting section to Code Owners doc

See merge request gitlab-org/gitlab!77699
parents 8ad3d6eb 3bc2e985
...@@ -280,3 +280,26 @@ model/db @database ...@@ -280,3 +280,26 @@ model/db @database
[DOCUMENTATION] [DOCUMENTATION]
README.md @docs README.md @docs
``` ```
## Troubleshooting
### Approvals shown as optional
A Code Owner approval rule is optional if these conditions are not met:
- The user or group are not a member of the project or parent group.
- [Code Owner approval on a protected branch](protected_branches.md#require-code-owner-approval-on-a-protected-branch) has not been set up.
- The section is [marked as optional](#make-a-code-owners-section-optional).
### Approvals do not show
Code Owner approval rules only update when the merge request is created.
If you update the `CODEOWNERS` file, close the merge request and create a new one.
### User not shown as possible approver
A user might not show as an approver on the Code Owner merge request approval rules.
This result occurs when a rule prevents the specific user from approving the merge request.
Check the project
[merge request approval setting](merge_requests/approvals/settings.md#edit-merge-request-approval-settings).
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment