Skip to content

chore: standardize CODEOWNERS on @petry-projects/org-leads team - #192

Merged
don-petry merged 2 commits into
mainfrom
chore/standardize-codeowners-org-leads
May 4, 2026
Merged

chore: standardize CODEOWNERS on @petry-projects/org-leads team#192
don-petry merged 2 commits into
mainfrom
chore/standardize-codeowners-org-leads

Conversation

@don-petry

Copy link
Copy Markdown
Contributor

Summary

  • Replace individual user/bot listings in .github/CODEOWNERS with the new @petry-projects/org-leads team
  • Add standards/codeowners-standard.md documenting the policy

Why

  • Stable CODEOWNERS files — owner changes become team membership changes, not multi-repo PRs
  • Fixes GitHub App limitation — GitHub Apps cannot be code owners (platform limitation), but machine user @donpetry-bot in the team can satisfy require_code_owner_review. Closes pr-review-agent#27
  • Centralized control — manage owners in one place

Team

@petry-projects/org-leads (newly created):

  • @don-petry (maintainer)
  • @donpetry-bot (member — machine user for pr-review-agent)

Test plan

  • PR merges cleanly
  • Org Leads team has push access to all org repos (already granted via API)
  • Follow-up PRs migrate child repos (ContentTwin, TalkTerm, markets, broodly, google-app-scripts, bmad-bgreat-suite)
  • Verify donpetry-bot approvals satisfy require_code_owner_review on TalkTerm after migration

🤖 Generated with Claude Code

Replace individual user/bot listings with the new @petry-projects/org-leads
team. This:

- Keeps CODEOWNERS files stable across membership changes
- Resolves the GitHub App CODEOWNERS limitation (Apps can't be code owners,
  but a machine user in the team can — fixes pr-review-agent#27)
- Centralizes owner management to a single team

Adds standards/codeowners-standard.md documenting the policy. Child repos
will be migrated in follow-up PRs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 4, 2026 20:28
@coderabbitai

coderabbitai Bot commented May 4, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@don-petry has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 39 minutes and 21 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2a445e7f-1a65-45e5-9f57-a6f4a0638a8f

📥 Commits

Reviewing files that changed from the base of the PR and between b51e2ed and 2f12201.

📒 Files selected for processing (2)
  • .github/CODEOWNERS
  • standards/codeowners-standard.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/standardize-codeowners-org-leads

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 39 minutes and 21 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@don-petry
don-petry merged commit 6bce134 into main May 4, 2026
17 checks passed
@don-petry
don-petry deleted the chore/standardize-codeowners-org-leads branch May 4, 2026 20:31
@sonarqubecloud

sonarqubecloud Bot commented May 4, 2026

Copy link
Copy Markdown

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

Standardizes this repository’s CODEOWNERS configuration around the new @petry-projects/org-leads team and adds a written policy describing the intended org-wide CODEOWNERS approach.

Changes:

  • Replace the default .github/CODEOWNERS owner list with @petry-projects/org-leads.
  • Add standards/codeowners-standard.md defining the new CODEOWNERS policy and migration guidance.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
standards/codeowners-standard.md Adds documentation for the new CODEOWNERS policy centered on @petry-projects/org-leads.
.github/CODEOWNERS Switches the default owner rule to the @petry-projects/org-leads team and adds explanatory comments.

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

Comment thread .github/CODEOWNERS

# Default owner for all files
* @don-petry @petry-projects-pr-review-agent @dependabot-automerge-petry
* @petry-projects/org-leads
Comment thread .github/CODEOWNERS
# Standard: use the @petry-projects/org-leads team for all code owner
# assignments instead of listing individuals or bot accounts directly.
# This keeps CODEOWNERS files stable and centralizes membership management.
# See: standards/codeowners-standard.md
Comment on lines +6 to +9
## Rule

CODEOWNERS files MUST reference the `@petry-projects/org-leads` team rather than individual users or bot accounts.

* @petry-projects/org-leads
```

Path-specific rules MAY use additional teams or individuals when a narrower owner is appropriate, but the default `*` rule must always include `@petry-projects/org-leads`.
don-petry added a commit that referenced this pull request Jun 8, 2026
* chore: standardize CODEOWNERS on @petry-projects/org-leads team

Replace individual user/bot listings with the new @petry-projects/org-leads
team. This:

- Keeps CODEOWNERS files stable across membership changes
- Resolves the GitHub App CODEOWNERS limitation (Apps can't be code owners,
  but a machine user in the team can — fixes pr-review-agent#27)
- Centralizes owner management to a single team

Adds standards/codeowners-standard.md documenting the policy. Child repos
will be migrated in follow-up PRs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: satisfy markdownlint MD013 line-length and MD040 fenced code lang

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
don-petry added a commit that referenced this pull request Jun 10, 2026
* chore: standardize CODEOWNERS on @petry-projects/org-leads team

Replace individual user/bot listings with the new @petry-projects/org-leads
team. This:

- Keeps CODEOWNERS files stable across membership changes
- Resolves the GitHub App CODEOWNERS limitation (Apps can't be code owners,
  but a machine user in the team can — fixes pr-review-agent#27)
- Centralizes owner management to a single team

Adds standards/codeowners-standard.md documenting the policy. Child repos
will be migrated in follow-up PRs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: satisfy markdownlint MD013 line-length and MD040 fenced code lang

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
don-petry added a commit that referenced this pull request Jun 11, 2026
* chore: standardize CODEOWNERS on @petry-projects/org-leads team

Replace individual user/bot listings with the new @petry-projects/org-leads
team. This:

- Keeps CODEOWNERS files stable across membership changes
- Resolves the GitHub App CODEOWNERS limitation (Apps can't be code owners,
  but a machine user in the team can — fixes pr-review-agent#27)
- Centralizes owner management to a single team

Adds standards/codeowners-standard.md documenting the policy. Child repos
will be migrated in follow-up PRs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: satisfy markdownlint MD013 line-length and MD040 fenced code lang

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
don-petry added a commit that referenced this pull request Jun 11, 2026
* chore: standardize CODEOWNERS on @petry-projects/org-leads team

Replace individual user/bot listings with the new @petry-projects/org-leads
team. This:

- Keeps CODEOWNERS files stable across membership changes
- Resolves the GitHub App CODEOWNERS limitation (Apps can't be code owners,
  but a machine user in the team can — fixes pr-review-agent#27)
- Centralizes owner management to a single team

Adds standards/codeowners-standard.md documenting the policy. Child repos
will be migrated in follow-up PRs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: satisfy markdownlint MD013 line-length and MD040 fenced code lang

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
don-petry added a commit that referenced this pull request Jun 11, 2026
* chore: standardize CODEOWNERS on @petry-projects/org-leads team

Replace individual user/bot listings with the new @petry-projects/org-leads
team. This:

- Keeps CODEOWNERS files stable across membership changes
- Resolves the GitHub App CODEOWNERS limitation (Apps can't be code owners,
  but a machine user in the team can — fixes pr-review-agent#27)
- Centralizes owner management to a single team

Adds standards/codeowners-standard.md documenting the policy. Child repos
will be migrated in follow-up PRs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: satisfy markdownlint MD013 line-length and MD040 fenced code lang

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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.

Re-architect: migrate from GitHub App to machine user account (PAT) to support CODEOWNERS approval

2 participants