Skip to content

Commit c5026b3

Browse files
authored
chore(python): add .github/CODEOWNERS as a templated file (#1201)
* chore(python): add .github/CODEOWNERS as a templated file * limit to library_type GAPIC_AUTO * add comment for samples owner * remove check for GAPIC_AUTO * Update comment * add comment
1 parent bc0de6e commit c5026b3

File tree

1 file changed

+19
-0
lines changed
  • synthtool/gcp/templates/python_library/.github

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
# Note: This file is autogenerated. To make changes to the codeowner team, please update .repo-metadata.json.
7+
{% if metadata['repo']['codeowner_team']|length %}
8+
# @googleapis/yoshi-python {{ metadata['repo']['codeowner_team'] }} are the default owners for changes in this repo
9+
* @googleapis/yoshi-python {{ metadata['repo']['codeowner_team'] }}
10+
11+
# @googleapis/python-samples-owners {{ metadata['repo']['codeowner_team'] }} are the default owners for samples changes
12+
/samples/ @googleapis/python-samples-owners {{ metadata['repo']['codeowner_team'] }}
13+
{% else %}
14+
# @googleapis/yoshi-python is the default owner for changes in this repo
15+
* @googleapis/yoshi-python
16+
17+
# @googleapis/python-samples-owners is the default owner for samples changes
18+
/samples/ @googleapis/python-samples-owners
19+
{% endif -%}

0 commit comments

Comments
 (0)