Skip to content

chore: add CODEOWNERS - #75

Open
gbartolini wants to merge 2 commits into
mainfrom
chore/add-codeowners
Open

chore: add CODEOWNERS#75
gbartolini wants to merge 2 commits into
mainfrom
chore/add-codeowners

Conversation

@gbartolini

@gbartolini gbartolini commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

This repo has never had a CODEOWNERS file (verified: zero commits in its history ever touched one). This adds just the general * rule for now:

* @cloudnative-pg/governance-owners @cloudnative-pg/admins

Routes through the real governance-owners team, falling back to admins.

Generated from cloudnative-pg/cnpg-infra's componentowners-policy.yaml
via scripts/render-codeowners.rb -- see that repo for the underlying
policy this file is generated from. This repo has never had a
CODEOWNERS file before (verified: zero commits in its history ever
touched one).

Routes ownership through the real governance-owners team plus admins
as a fallback. The four subprojects/*.md path rules also list their
respective subproject-committee team (core-maintainers,
supply-chain-maintainers, community-ecosystem-maintainers,
extensibility-maintainers) -- these exist as real GitHub teams already,
but with placeholder membership pending the federated governance model's
ratification (dev/67), not a real per-committee roster yet.

One of those path rules, /subprojects/core.md, anticipates
subprojects/core-projects.md being renamed to core.md as part of the
same dev/67 work -- until that rename lands, this rule matches no real
file and the governance-owners+admins fallback on * covers
core-projects.md instead.

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>

Assisted-by: Claude
Interim CODEOWNERS -- just the general owners rule for now, routing
through the real governance-owners team (falling back to admins).
Path-scoped rules for subprojects/*.md are deliberately left for
later, once the subproject-committee teams have real membership
rather than placeholder membership pending dev/67's ratification.

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>

Assisted-by: Claude
@gbartolini gbartolini changed the title chore: add CODEOWNERS chore: add CODEOWNERS (* rule only, for now) Aug 16, 2026
@gbartolini gbartolini changed the title chore: add CODEOWNERS (* rule only, for now) chore: add CODEOWNERS Aug 16, 2026
@mnencia
mnencia requested a lite review from Copilot August 16, 2026 04:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds repository-wide ownership rules by introducing a root-level CODEOWNERS file, ensuring PRs are automatically routed to the appropriate teams for review.

Changes:

  • Add a CODEOWNERS file with a catch-all * rule pointing to @cloudnative-pg/governance-owners with fallback to @cloudnative-pg/admins.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants