Update CODEOWNERS to define specific ownership#5546
Conversation
Added specific ownership @Azure/aks-pm and removed from global owners
There was a problem hiding this comment.
Pull request overview
This PR restructures the CODEOWNERS file to define specific path-based ownership instead of global ownership. The @Azure/aks-pm team is assigned to specific areas (CHANGELOG.md and website), while being removed from the global fallback owners to reduce notification noise and clarify responsibilities.
Key Changes
- Added explicit ownership of
/CHANGELOG.mdto @Azure/aks-pm - Added explicit ownership of
/website/*to @Azure/aks-pm - Removed @Azure/aks-pm from global owners (now only @palma21 and @Azure/aks-leads)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| # Global Owners | ||
| * @palma21 @Azure/aks-pm @Azure/aks-leads | ||
| * @palma21 @Azure/aks-leads |
There was a problem hiding this comment.
In GitHub CODEOWNERS files, the last matching pattern takes precedence. With the global pattern on line 10 appearing after the specific patterns for /CHANGELOG.md and /website/, the global owners will override the specific owners for those paths.
To ensure that @Azure/aks-pm owns /CHANGELOG.md and /website/ while @palma21 and @Azure/aks-leads own everything else, the global pattern should be moved before the specific patterns (lines 4 and 7). The recommended order is:
- Global pattern first
- Specific patterns after (to override the global pattern)
This ensures that specific ownership rules take precedence over the global catch-all.
Added specific ownership @Azure/aks-pm and removed from global owners