Skip to content

chore: add CODEOWNERS for extension submissions and automation#114

Merged
michaeljolley merged 3 commits into
mainfrom
chore/add-codeowners
Jul 13, 2026
Merged

chore: add CODEOWNERS for extension submissions and automation#114
michaeljolley merged 3 commits into
mainfrom
chore/add-codeowners

Conversation

@niels9001

Copy link
Copy Markdown
Contributor

Adds .github/CODEOWNERS so extension submissions and repo automation get the right required reviewers.

Ownership

Path Owners Why
/extensions/ moderators Contributor submissions require a moderator (code-owner) review
/.github/ moderators Workflows, scripts, schemas, and CODEOWNERS itself
root extensions.json (intentionally unowned) Lets the scheduled Regenerate Gallery automation update it without a human review

This also activates the existing require_code_owner_review branch-protection rule, which was a no-op until now (no CODEOWNERS existed).

Notes

  • Listed as individual usernames for now: @michaeljolley, @zadjii-msft, @chatasweetie, @crutkas, @DHowett. Once a team exists, we can swap these for a single @microsoft/<team> handle.
  • Deliberately no catch-all (*) rule, so the generated extensions.json stays unowned and the automation remains hands-off.

niels9001 and others added 3 commits July 12, 2026 13:27
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>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new .github/CODEOWNERS file to enable/activate required code-owner reviews for key areas of the repository (extension submissions and repo automation paths), aligning review requirements with the existing require_code_owner_review branch protection.

Changes:

  • Introduces CODEOWNERS rules for /extensions/ to require moderator review on contributor submissions.
  • Introduces CODEOWNERS rules for /.github/ to require moderator review for workflows/scripts/schemas changes.
  • Adds an explicit CODEOWNERS rule for /extensions.json (note: this conflicts with the PR description’s stated intent that it remain unowned for automation).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/CODEOWNERS
Comment thread .github/CODEOWNERS
Comment thread .github/CODEOWNERS
@michaeljolley
michaeljolley merged commit e364efe into main Jul 13, 2026
1 check passed
@michaeljolley
michaeljolley deleted the chore/add-codeowners branch July 13, 2026 17:01
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