Skip to content

Add @cli/code-reviewers to all CODEOWNERS rules#13190

Merged
BagToad merged 1 commit intotrunkfrom
kw/codeowners-add-code-reviewers
Apr 16, 2026
Merged

Add @cli/code-reviewers to all CODEOWNERS rules#13190
BagToad merged 1 commit intotrunkfrom
kw/codeowners-add-code-reviewers

Conversation

@BagToad
Copy link
Copy Markdown
Member

@BagToad BagToad commented Apr 16, 2026

This ensures that an approval from @cli/code-reviewers can satisfy the CODEOWNERS requirement for any path, not just the catch-all wildcard rule.

Previously, paths like pkg/cmd/skills/ or pkg/cmd/attestation/ could only be approved by their specialist team. Now either the specialist team or @cli/code-reviewers can approve.

This ensures that an approval from @cli/code-reviewers can satisfy the
CODEOWNERS requirement for any path, not just the catch-all wildcard.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@BagToad BagToad enabled auto-merge April 16, 2026 15:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates CODEOWNERS so @cli/code-reviewers is listed on each specific rule, ensuring reviews from that team can satisfy CODEOWNERS requirements even when a more specific path rule overrides the global * entry.

Changes:

  • Add @cli/code-reviewers to the codespaces-owned paths.
  • Add @cli/code-reviewers to Package Security–owned attestation/release-related paths and the attestation integration tests.
  • Add @cli/code-reviewers to skills- and TUF-root-reviewer-owned paths.
Show a summary per file
File Description
.github/CODEOWNERS Adds @cli/code-reviewers to all existing path-specific ownership rules so it remains a valid approver even when specific rules override the global wildcard.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread .github/CODEOWNERS
pkg/cmd/codespace/ @cli/codespaces @cli/code-reviewers
internal/codespaces/ @cli/codespaces @cli/code-reviewers

# Limit Package Security team ownership to the attestation command package and related integration tests
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

The header comment says ownership is limited to the Package Security team, but the following rules now also include @cli/code-reviewers. Please update the comment to reflect the new intent (e.g., that either team can approve these paths).

Suggested change
# Limit Package Security team ownership to the attestation command package and related integration tests
# Limit ownership of the attestation command package and related integration tests to the Package Security team or @cli/code-reviewers

Copilot uses AI. Check for mistakes.
Comment thread .github/CODEOWNERS
test/integration/attestation-cmd @cli/package-security @cli/code-reviewers

pkg/cmd/attestation/verification/embed/tuf-repo.github.com/ @cli/tuf-root-reviewers
pkg/cmd/attestation/verification/embed/tuf-repo.github.com/ @cli/tuf-root-reviewers @cli/code-reviewers
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

Adding @cli/code-reviewers to the TUF root repository embed path broadens who can approve changes in a security-sensitive area. If the intent is to keep this restricted to @cli/tuf-root-reviewers, consider omitting @cli/code-reviewers for this rule (or add an explicit note documenting the policy change).

Suggested change
pkg/cmd/attestation/verification/embed/tuf-repo.github.com/ @cli/tuf-root-reviewers @cli/code-reviewers
pkg/cmd/attestation/verification/embed/tuf-repo.github.com/ @cli/tuf-root-reviewers

Copilot uses AI. Check for mistakes.
@BagToad BagToad merged commit c805303 into trunk Apr 16, 2026
20 checks passed
@BagToad BagToad deleted the kw/codeowners-add-code-reviewers branch April 16, 2026 15:59
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