repo/codeowners
CODEOWNERS names reviewers
| Severity | info |
| Tiers | 1 |
| Stacks | any |
| Scope | root |
| Kind | expr |
| Source | library v0.6.0 |
| Selected by | fleetlint-recommended@v0.6.0 |
Requirement
A CODEOWNERS file routes review requests for every path.
Why
Review ownership that lives in people’s heads does not survive a holiday.
Check
file("CODEOWNERS") || file(".github/CODEOWNERS") || file("docs/CODEOWNERS") || file(".gitea/CODEOWNERS")Fix
Add .github/CODEOWNERS with a default owner line.
Agent instruction: Add .github/CODEOWNERS containing * @<owner> and commit.
A finding of this rule points at .github/CODEOWNERS.
Sources
- https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners (guidance)
- https://docs.gitlab.com/user/project/codeowners/ (spec)
- https://fleetlint.org/baseline/#public-repositories
Generated by fleetlint docs from catalog v0.6.0.