CodeOwnerApprovalCheck: Drop unreachable code If a change was code-owner approved by a global code owner the logic for handling approvals from fallback code owners in getCodeOwnerStatusForFallbackCodeOwners is not invoked. Hence we can drop the checks for global code owner approvals there. Also verified by looking at the test coverage that these lines are never executed. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I4352392a6d71d09144afbd5f369bc286cae36424
This plugin provides support for defining code owners for files in a repository.
If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.
Also see resources/Documentation/about.md.
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md.