Skip to content

Commit

Permalink
Merge pull request #612 from NLeSC/605_coc_question
Browse files Browse the repository at this point in the history
605-update the code of conduct email question
  • Loading branch information
fdiblen committed Aug 28, 2024
2 parents 9bd35de + 7a99bb3 commit 0d9a3e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copier/questions/package_details.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ email:
{% endif %}
code_of_conduct_email:
type: str
default: "{{ email }}"
help: What is the email address for code of conduct?
default: "{{ email }}"
help: What is the email address to report code of conduct violations?
when: "{{ template_profile != 'minimum' and AddPackageDetails }}"
validator: >-
{% if not (code_of_conduct_email | regex_search('([A-Za-z0-9]+[.-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\.[A-Z|a-z]{2,})+')) %}
Expand Down

0 comments on commit 0d9a3e3

Please sign in to comment.