From 80003a3de2d8a75f5b47cb2e77e018f7f0f776cc Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 21 Sep 2020 09:00:06 -0700 Subject: [PATCH] chore(java): set yoshi-java as default CODEOWNER (#764) --- synthtool/gcp/templates/java_library/.github/CODEOWNERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/synthtool/gcp/templates/java_library/.github/CODEOWNERS b/synthtool/gcp/templates/java_library/.github/CODEOWNERS index 69485a89b..f6961cac2 100644 --- a/synthtool/gcp/templates/java_library/.github/CODEOWNERS +++ b/synthtool/gcp/templates/java_library/.github/CODEOWNERS @@ -5,7 +5,10 @@ # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax {% if 'codeowner_team' in metadata['repo'] %} # The {{ metadata['repo']['codeowner_team'] }} is the default owner for changes in this repo +* @googleapis/yoshi-java {{ metadata['repo']['codeowner_team'] }} **/*.java {{ metadata['repo']['codeowner_team'] }} +{% else %} +* @googleapis/yoshi-java {% endif %} # The java-samples-reviewers team is the default owner for samples changes samples/**/*.java @googleapis/java-samples-reviewers