Skip to content

Commit 318e351

Browse files
JustinBeckwithBenjamin Coe
andauthored
fix: use repo metadata to populate nodejs CODEOWNERS (#936)
* fix: use repo metadata to populate nodejs CODEOWNERS * chore: small formatting tweaks Co-authored-by: Benjamin Coe <[email protected]>
1 parent 140ba24 commit 318e351

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • synthtool/gcp/templates/node_library/.github
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Code owners file.
2+
# This file controls who is tagged for review for any given pull request.
3+
#
4+
# For syntax help see:
5+
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
6+
7+
8+
# The yoshi-nodejs team is the default owner for nodejs repositories.
9+
{%- if 'codeowner_team' in metadata['repo'] %}
10+
* @googleapis/yoshi-nodejs {{ metadata['repo']['codeowner_team'] }}
11+
{%- else %}
12+
* @googleapis/yoshi-nodejs
13+
{%- endif %}

0 commit comments

Comments
 (0)