Skip to content

HasCodeownersRule

CI edited this page Apr 1, 2020 · 5 revisions

HasCodeownersRule

This rule checks that repository has CODEOWNERS defined in .github folder

Code owners should be defined for 2 reasons

  1. Pull request reviewers are automatically added
  2. Other people have have better visibility that who knows about the project.

See https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners for more information

To ignore HasCodeownersRule validation, use following repository-validator.json

{
    "Version":"1",
    "IgnoredRules": [
        "HasCodeownersRule"
    ]
}
Clone this wiki locally