What are CODEOWNERS and how does GitHub resolve them?
IntermediateConceptBranching strategies, pull requests and code review
Answer
A CODEOWNERS file in .github/, root or docs/ maps path patterns to users or teams. The last matching pattern wins. When "Require review from Code Owners" is enabled, a PR touching a path needs approval from an owner of that path.
* @org/platform
/infra/ @org/sre
*.tf @org/sre @org/security
More on Branching strategies, pull requests and code review
What is a feature-branch workflow?BeginnerWhat is GitFlow and what are its branches?IntermediateWhat is trunk-based development and what does it require?IntermediateWhat is GitHub Flow and how does it differ from GitFlow?BeginnerWhat is release-branch strategy with cherry-picked fixes?IntermediateWhat makes a good pull request?Beginner