Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

* @ONSdigital/ons-python-template
8 changes: 8 additions & 0 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ repository_owner:
help: "What is your repository owner? (e.g. your GitHub username)"
default: "ONSdigital"

code_owner:
type: str
help: "What is your CODEOWNERS default? (e.g. @org/team or @username)"
validator: >-
{% if not code_owner.startswith('@') %}
CODEOWNERS must start with '@' (e.g. @username or @org/team)
{% endif %}

repository_visibility:
type: str
help: "What is your repository visibility?"
Expand Down
3 changes: 3 additions & 0 deletions project_template/.github/CODEOWNERS.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

* {{ code_owner }}
Loading