CODEOWNERS

A file that lists who must review changes to which paths.

Think of it as A sign on each door saying whose signature opens it.

Each line is a path pattern followed by owners. GitHub requests a review from the owners of every changed file, and with branch protection set to require code owner review the pull request cannot merge without them. When several lines match a path, the last one wins, so put general rules first.

Official reference: docs.github.com

Related terms