Skip to content

Allow hyphens and underscores in vote profile names - #711

Merged
tegioz merged 1 commit into
cncf:mainfrom
gbartolini:dev/allow-dash-underscore
Oct 8, 2026
Merged

tegioz merged 1 commit into
cncf:mainfrom
gbartolini:dev/allow-dash-underscore

Conversation

@gbartolini

Copy link
Copy Markdown
Contributor

The command regex only accepted [a-zA-Z0-9] in the profile name, so a comment like /vote-supply-chain-removal did not match at all and was silently ignored. Accept - and _ as well, document the allowed characters, and add a basic test.

Assisted-by: Claude

The command regex only accepted [a-zA-Z0-9] in the profile name, so a
comment like `/vote-supply-chain-removal` did not match at all and was
silently ignored. Accept `-` and `_` as well, document the allowed
characters, and add a basic test.

Assisted-by: Claude

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>

@tegioz tegioz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @gbartolini

@tegioz
tegioz merged commit d07eaab into cncf:main Oct 8, 2026
4 checks passed
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.

2 participants