From 60d84ac2516f1a944d79d67ca271ba3952b36314 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Sun, 12 Jul 2026 13:27:53 +0200 Subject: [PATCH 1/3] chore: add CODEOWNERS for extension submissions and repo automation Assigns moderators as code owners for /extensions/ (contributor submissions) and /.github/ (workflows, scripts, schemas). The generated root extensions.json is deliberately left unowned so the scheduled Regenerate Gallery automation can update it without a code-owner review. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/CODEOWNERS | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..193f3c1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,19 @@ +# Code owners for CmdPal-Extensions. +# +# Each line is a file pattern followed by one or more owners. The last +# matching pattern for a changed file takes precedence. Owners listed here +# are automatically requested for review, and the branch protection ruleset +# requires a code-owner approval before such changes can merge. +# +# NOTE: The generated gallery file at the repo root, extensions.json, is +# intentionally NOT assigned an owner. This lets the scheduled "Regenerate +# Gallery" workflow update it automatically without a human code-owner review. +# Contributor-authored content under /extensions/ IS owned below, so extension +# submissions still require a moderator's approval. + +# Extension submissions from contributors. +/extensions/ @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett + +# Repository automation: workflows, generation/validation scripts, schemas, +# and this CODEOWNERS file itself. +/.github/ @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett From 1f95583a119439cfb86c16ba7801872245bab517 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Sun, 12 Jul 2026 13:28:26 +0200 Subject: [PATCH 2/3] chore: add @niels9001 as a code owner Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/CODEOWNERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 193f3c1..927de66 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -12,8 +12,8 @@ # submissions still require a moderator's approval. # Extension submissions from contributors. -/extensions/ @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett +/extensions/ @niels9001 @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett # Repository automation: workflows, generation/validation scripts, schemas, # and this CODEOWNERS file itself. -/.github/ @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett +/.github/ @niels9001 @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett From 071fec0749de457a1a06e64dd2b83f65a4f31b29 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Sun, 12 Jul 2026 13:34:37 +0200 Subject: [PATCH 3/3] chore: own extensions.json so regen PRs require a code-owner review Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/CODEOWNERS | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 927de66..6b0833b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -5,15 +5,17 @@ # are automatically requested for review, and the branch protection ruleset # requires a code-owner approval before such changes can merge. # -# NOTE: The generated gallery file at the repo root, extensions.json, is -# intentionally NOT assigned an owner. This lets the scheduled "Regenerate -# Gallery" workflow update it automatically without a human code-owner review. -# Contributor-authored content under /extensions/ IS owned below, so extension -# submissions still require a moderator's approval. +# The generated gallery file (extensions.json) is owned as well: the +# regeneration automation opens a PR authored by a maintainer, and a +# DIFFERENT code owner must review it before it merges (the author cannot +# approve their own PR). # Extension submissions from contributors. /extensions/ @niels9001 @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett +# Generated gallery file, produced by .github/scripts/generate.py. +/extensions.json @niels9001 @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett + # Repository automation: workflows, generation/validation scripts, schemas, # and this CODEOWNERS file itself. /.github/ @niels9001 @michaeljolley @zadjii-msft @chatasweetie @crutkas @dhowett