From 5dfa125c3b064cca24149d7b23a7237d398c747c Mon Sep 17 00:00:00 2001 From: Gabriele Bartolini Date: Mon, 14 Sep 2026 12:29:13 +0200 Subject: [PATCH] chore: sync generated files with cnpg-infra policy These files are generated from cloudnative-pg/cnpg-infra and landed here by scripts/sync-ownership-files.sh, so propose a change there rather than editing them in this repository: - CODEOWNERS, from componentowners-policy.yaml. - COMPONENT_OWNERS.md, from repo-tiers.yaml's owners field, which is the same entry that populates this repo's -owners GitHub team. It is the public record of who owns this component, which a GitHub team cannot be, since team membership is only visible to other org members. - .gitvote.yml, so a vote held on an issue here actually has an electorate. Until now /vote-component-owner did nothing in this repo. Assisted-by: Claude Signed-off-by: Gabriele Bartolini --- .gitvote.yml | 38 ++++++++++++++++++++++++++++++++++++++ CODEOWNERS | 2 +- COMPONENT_OWNERS.md | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 .gitvote.yml create mode 100644 COMPONENT_OWNERS.md diff --git a/.gitvote.yml b/.gitvote.yml new file mode 100644 index 0000000..168d215 --- /dev/null +++ b/.gitvote.yml @@ -0,0 +1,38 @@ +# GitVote configuration for cloudnative-pg/.github. +# +# Rendered by cnpg-infra's scripts/render-gitvote-config.sh -- see +# cnpg-infra's gitvote-policy.yaml and scripts/check-gitvote-config.sh / +# fix-gitvote-config.sh for how this file is generated and enforced. +# +# One of the five org-control repos (governance, .project, .github, +# cnpg-infra, cnpg-template) -- Steering Committee business, not a +# subproject's. Voters are the steering-committee GitHub team (see +# org-policy.yaml's steering_committee field); membership is today's 5 +# core maintainers, pending ratification of the federated governance +# model (governance's dev/67 and dev/70). +automation: + enabled: false + rules: + - patterns: [] + profile: default + +profiles: + default: + duration: 1w + pass_threshold: 50 + allowed_voters: + teams: + - steering-committee + users: [] + close_on_passing: true + close_on_passing_min_wait: "10 minutes" + + steering: + duration: 1w + pass_threshold: 66 + allowed_voters: + teams: + - steering-committee + users: [] + close_on_passing: true + close_on_passing_min_wait: "10 minutes" diff --git a/CODEOWNERS b/CODEOWNERS index 5b6336d..6bbd76c 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -6,4 +6,4 @@ # CODEOWNERS only honors the LAST matching pattern for a given path — # it does not merge an earlier, less-specific rule into a later one. -* @cloudnative-pg/github-owners @cloudnative-pg/admins +* @cloudnative-pg/github-owners diff --git a/COMPONENT_OWNERS.md b/COMPONENT_OWNERS.md new file mode 100644 index 0000000..90c46e0 --- /dev/null +++ b/COMPONENT_OWNERS.md @@ -0,0 +1,33 @@ +# Component Owners + + + +`.github` is one of the CloudNativePG organization-control repositories, +administered directly by the Steering Committee rather than by a +subproject maintainer committee. + +The people below are its **Component Owners**: they hold `Write` on this +repository through the `github-owners` GitHub team, and are its default +[`CODEOWNERS`](CODEOWNERS) entry, so every pull request here is routed to +them for review. + +| Name | GitHub Handle | Country | +| :--- | :--- | :--- | +| Gabriele Bartolini | [@gbartolini](https://github.com/gbartolini) | | +| Francesco Canovai | [@fcanovai](https://github.com/fcanovai) | | +| Leonardo Cecchi | [@leonardoce](https://github.com/leonardoce) | | +| Marco Nenciarini | [@mnencia](https://github.com/mnencia) | | +| Armando Ruocco | [@armru](https://github.com/armru) | | + +Component Owner is a rung of the CloudNativePG contributor ladder. A new +owner is added by a ⅔ vote of this repository's existing Component Owners, +held on an issue in this repository; the change is then recorded in +`cnpg-infra`, which grants the access and regenerates this file. See +`CONTRIBUTOR_LADDER.md` in [cloudnative-pg/governance](https://github.com/cloudnative-pg/governance) +for the full process, including what happens when a repository has too few +owners to reach that threshold.