Skip to content
Snippets Groups Projects
Commit cb9a5651 authored by Mark Chao's avatar Mark Chao :two:
Browse files
parent 50699bae
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ def sync_code_owners_with_approvers
rule = approval_rules.code_owner.first
rule ||= approval_rules.code_owner.create!(name: ApprovalMergeRequestRule::DEFAULT_NAME_FOR_CODE_OWNER)
rule.users = code_owners.uniq
rule.users = owners.uniq
end
else
approval_rules.code_owner.delete_all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment