Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CODEOWNERS to include doc writers and reduce duplication #60017

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

halter73
Copy link
Member

@halter73 halter73 commented Jan 23, 2025

This PR adds @Rick-Anderson and @tdykstra as CODEOWNERS for /**/PublicAPI.*Shipped.txt, so they get notified for any PR that adds new API so they can review the doc comments.

Alternatively, they could join @dotnet/aspnet-api-review, but that may be used for more than just PRs.

I also took the opportunity to remove some redundancy with the assumption that the last matched pattern wins. If we find that's not the case, we can revert that part later and add @Rick-Anderson and @tdykstra to all the relevant lines.

This PR adds @Rick-Anderson and @tdykstra as CODEOWNERS for `/**/PublicAPI.*Shipped.txt`, so they get notified for any PR that adds new API so they can review the doc comments.

Alternatively, they could join @aspnet-api-review, but that may be used for more than just PRs.

I also took the opportunity to remove some redundancy with the assumption that the [last matched pattern wins](https://graphite.dev/guides/in-depth-guide-github-codeowners#patterns-and-precedence-in-the-codeowners-file). If we find that's not the case, we can revert that part later and add @Rick-Anderson and @tdykstra to all the relevant lines.
@halter73 halter73 requested review from wtgodbe and a team as code owners January 23, 2025 22:43
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jan 23, 2025
@halter73
Copy link
Member Author

@wtgodbe GitHub is warning me that the CODEOWNERS file doesn't validate because @dotnet-maestro-bot doesn't have write access to this repo. Should I just remove references to the bot from the file?

dotnet-maestro-bot related CODEOWNERS validation errors

@wtgodbe
Copy link
Member

wtgodbe commented Jan 23, 2025

GitHub is warning me that the CODEOWNERS file doesn't validate because @dotnet-maestro-bot doesn't have write access to this repo. Should I just remove references to the bot from the file?

Yeah just remove them, dotnet-maestro-bot has been replaced by dotnet-maestro, which reviews its own PRs anyways, as per

@danmoseley danmoseley merged commit 9c67714 into main Jan 28, 2025
23 checks passed
@danmoseley danmoseley deleted the halter73/api-review-codeowners branch January 28, 2025 18:59
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview2 milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants