Standardize CODEOWNERS and CI/CD governance#2
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces code ownership governance by adding a CODEOWNERS file to standardize review requirements. The file establishes default ownership by @FieldControl/shared for all files and specialized ownership by @FieldControl/codeowners for CI/CD infrastructure in the .github/ directory.
- Adds CODEOWNERS file with two ownership rules
- Sets @FieldControl/shared as default owner for the repository
- Designates @FieldControl/codeowners as owner for .github/ directory
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| * @FieldControl/shared | ||
|
|
||
| /.github/ @FieldControl/codeowners |
There was a problem hiding this comment.
The order of rules in CODEOWNERS files matters. More specific patterns should be placed before general patterns because GitHub uses the last matching pattern. Currently, the general wildcard pattern * @FieldControl/shared appears first, which means it will override the more specific /.github/ @FieldControl/codeowners rule. This means all files, including those in .github/, will be owned by @FieldControl/shared instead of @FieldControl/codeowners.
The rules should be reordered so that /.github/ @FieldControl/codeowners comes before * @FieldControl/shared.
| * @FieldControl/shared | |
| /.github/ @FieldControl/codeowners | |
| /.github/ @FieldControl/codeowners | |
| * @FieldControl/shared |
No description provided.