-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Objective
Create a .github/CODEOWNERS file to automatically assign reviewers based on the files changed in a PR.
Context
Without CODEOWNERS:
- PRs may sit unreviewed, slowing down merge velocity
- No clear ownership of different components
- Manual reviewer assignment is error-prone
Approach
- Create
.github/CODEOWNERSfile - Define ownership patterns:
- Global default owners (all files)
- Container security:
/containers/ - CI/CD workflows:
/.github/workflows/ - Documentation site:
/docs-site/ - Core TypeScript:
/src/
- Use team references (e.g.,
@githubnext/gh-aw-firewall-maintainers) or individual usernames
Files to Create
- Create:
.github/CODEOWNERS
Acceptance Criteria
-
.github/CODEOWNERSexists with ownership patterns for key directories - File uses valid GitHub username or team syntax
- Ownership covers containers, workflows, docs, and core code
- Global fallback owners are defined
References
- GitHub CODEOWNERS docs: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
Related to [plan] improve ci/cd pipeline and quality gates #348
AI generated by Plan Command for discussion #345
Reactions are currently unavailable