Repository navigation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Bug: this line no longer has a file pattern, so it owns nothing.
CODEOWNERS syntax is
<pattern> <owner> [<owner>...]. Dropping the leading*makes GitHub parse@googleads/google-ads-python-codereviewas the pattern (a path literally named that) with zero owners. GitHub considers "pattern with no owners" valid syntax (it's how you un-own a subpath), which is whyGET /repos/googleads/google-ads-python/codeowners/errors?ref=Fix-codeowners(and the same for the sibling google-ads-ruby#567 and google-ads-dotnet#672) returns{"errors": []}— but the effect is that no file in the repo has a code owner.Consequences on
main, which hasrequire_code_owner_reviews: true:Suggested fix (single line, both teams):
FYI the same change was merged in google-ads-java#920 earlier today with the same shape; it's worth a follow-up fix there too.