Skip to content

Commit

Permalink
chore(python): add .github/CODEOWNERS as a templated file (#1201)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
parthea authored Nov 11, 2021
1 parent bc0de6e commit c5026b3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions synthtool/gcp/templates/python_library/.github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.
#
# For syntax help see:
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
# Note: This file is autogenerated. To make changes to the codeowner team, please update .repo-metadata.json.
{% if metadata['repo']['codeowner_team']|length %}
# @googleapis/yoshi-python {{ metadata['repo']['codeowner_team'] }} are the default owners for changes in this repo
* @googleapis/yoshi-python {{ metadata['repo']['codeowner_team'] }}

# @googleapis/python-samples-owners {{ metadata['repo']['codeowner_team'] }} are the default owners for samples changes
/samples/ @googleapis/python-samples-owners {{ metadata['repo']['codeowner_team'] }}
{% else %}
# @googleapis/yoshi-python is the default owner for changes in this repo
* @googleapis/yoshi-python

# @googleapis/python-samples-owners is the default owner for samples changes
/samples/ @googleapis/python-samples-owners
{% endif -%}

0 comments on commit c5026b3

Please sign in to comment.