Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax

# The @googleapis/api-bigquery is the default owner for changes in this repo
* @googleapis/yoshi-java @googleapis/api-bigquery
* @googleapis/cloud-java-team-teamsync @googleapis/api-bigquery

# for handwritten libraries, keep codeowner_team in .repo-metadata.json as owner
**/*.java @googleapis/api-bigquery
**/*.java @googleapis/cloud-java-team-teamsync @googleapis/api-bigquery

Choose a reason for hiding this comment

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

medium

This line has become redundant. The owners specified here are identical to the default owners defined on line 8. Since rules in CODEOWNERS are processed from top to bottom with the last matching pattern taking precedence, and * on line 8 already covers all files, this specific rule for **/*.java with the same owners is unnecessary. You can remove this line to simplify the file.

Copy link
Contributor

Choose a reason for hiding this comment

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

@diegomarquezp This is a valid review, do you mind removing the redundant configuration?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done



# The java-samples-reviewers team is the default owner for samples changes
samples/**/*.java @googleapis/java-samples-reviewers
samples/**/*.java @googleapis/cloud-java-team-teamsync @googleapis/java-samples-reviewers

# Generated snippets should not be owned by samples reviewers
samples/snippets/generated/ @googleapis/yoshi-java
samples/snippets/generated/ @googleapis/cloud-java-team-teamsync @googleapis/yoshi-java