-
Notifications
You must be signed in to change notification settings - Fork 248
chore: Add googleapis-auth as codeowner team #950
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
Conversation
Warning: This pull request is touching the following templated files:
|
* @googleapis/yoshi-java | ||
# The @googleapis/googleapis-auth is the default owner for changes in this repo | ||
* @googleapis/yoshi-java @googleapis/googleapis-auth | ||
**/*.java @googleapis/googleapis-auth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dumb q- what does line 9 do? Seems like line 8 is giving @googleapis/googleapis-auth
edit access to all the files in the repo already, so is line 9 redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe from the docs (https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#example-of-a-codeowners-file), the last matching pattern takes precedence. For any non *.java files, yoshi-java and googleapis-auth should be able to approve, but only googleapis-auth is allowed to approve for *.java (and samples.java has their own rule)
These changes are from owlbot (and I believe from the template in the synthtool).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OwlBot doesn't control this repository's Java code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick question in comments - otherwise, looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead with granting the Write role to the new team. This removed the warning message.
BTW, please use |
BEGIN_COMMIT_OVERRIDE
chore: Add googleapis-auth as codeowner team
END_COMMIT_OVERRIDE