CODEOWNERS
.github/CODEOWNERS tells GitHub whom to request for review when a pull request changes owned files. The template ships one active rule, * @HYP3R00T, which assigns every path to the template maintainer when that account has write access. GitHub reads the file from the pull request's base branch. GitHub's code owners documentation
Set owners for your repository
Replace the default account with a maintainer who has write access. If you use teams, make sure each team is visible and has write access to the repository. Put general patterns before specific ones because the last matching line wins. For example, replace the placeholder organization and team names in this layout with your own.
* @your-org/maintainers
/website/ @your-org/docs
/.github/CODEOWNERS @your-org/maintainers
Once the file is on the base branch, open a pull request that touches an example path and check the Reviewers list. Draft pull requests get automatic code-owner review requests when marked ready for review. To make an approval from a code owner necessary before merging, configure that requirement in your repository settings.