Disambiguate codeowner approvals with :name

What does this MR do and why?

See gitlab-org/gitlab!230405 (comment 3228509890) for an example why this is a problem.

The codeowners_approvals now returns a struct with the :name attribute as well. This helps consumers disambiguate between rules that are present in the same section.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thong Kuah

Merge request reports

Loading