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

Update github org name regex #394

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Conversation

drewoldag
Copy link
Collaborator

Change Description

Updating the regex string to match the requirements of github.

Checklist

  • This PR is meant for the lincc-frameworks/python-project-template repo and not a downstream one instead.
  • This change is linked to an open issue
  • This change includes integration testing, or is small enough to be covered by existing tests

@drewoldag drewoldag requested a review from a team February 6, 2024 21:59
@drewoldag drewoldag self-assigned this Feb 6, 2024
@drewoldag drewoldag requested review from mi-dai and removed request for a team February 6, 2024 22:00
@drewoldag drewoldag linked an issue Feb 6, 2024 that may be closed by this pull request
@drewoldag drewoldag requested review from a team and wilsonbb and removed request for mi-dai and a team February 6, 2024 22:00
{% 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, _, -).
{% if not (project_organization | regex_search('^[a-zA-Z0-9][a-zA-Z0-9\-]+$')) %}
The name may only contain alphanumeric characters or single hyphens, and cannot begin or end with a hyphen.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This help message is taken directly from Github's UI.

@drewoldag drewoldag merged commit 9ab5459 into main Feb 6, 2024
13 checks passed
@drewoldag drewoldag deleted the issue/387allowable-github-org-name branch February 6, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub organization may have upper-case letters
2 participants