Skip to content

Commit

Permalink
Merge pull request #345 from lincc-frameworks/delucchi/validation
Browse files Browse the repository at this point in the history
Add validation to github organization string
  • Loading branch information
delucchi-cmu authored Dec 22, 2023
2 parents df3b8e3 + 0acf206 commit 5767313
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ project_organization:
type: str
help: What github organization will your project live under?
default: my_organization
validator: >-
{% if not (project_organization | regex_search('^[a-z][a-z0-9\_\-]+$')) %}
Must use a lowercase letter followed by one or more of (a-z, 0-9, _, -).
{% endif %}
author_name:
type: str
Expand Down

0 comments on commit 5767313

Please sign in to comment.