Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(python): add .github/CODEOWNERS as a templated file #1201

Merged
merged 8 commits into from
Nov 11, 2021
Merged
Changes from all commits
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
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.
parthea marked this conversation as resolved.
Show resolved Hide resolved
# 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 -%}