Skip to content

Introduce linters for codeowners file

Vasilii Iakliushin requested to merge 7843_validate_code_owners into master

Contributes to: #7843 (closed)

We want to make sure that CODEOWNERS file has valid records.

This MR makes two validations:

  1. that owner is a GitLab team member or an allowed group
  2. that defined path to a resource exists

For now, CI task allows a failure. I'm going to change that to the strict failure after Activating CODEOWNERS approval for www-gitlab-com.

Edited by Vasilii Iakliushin

Merge request reports