-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Custom types not matching as expected #260
Comments
This might be a duplicate of #257 |
Digging a bit deeper, it looks like an issue with the regex used by conventional-commit-parser. It expects a single word. /^(\w*)(?:(([\w$.-* ])))?: (.)$/ That library also appears to be 8 years without an update so not much point in trying to fix that. Possibly, would need to replace that library with something like https://commitlint.js.org/api/lint |
|
Hi. |
Describe the bug
I defined custom types that include an emoji, but when I run the action the validation fails even though the PR title uses one of the type options and it is unclear why the workflow doesn't think it matches.
To reproduce
Setup custom types with emoji's:
Generate a PR with one of these types in the title "📦 ci: run tests"
Expected behavior
I'd expect this to pass validation, but it fails with the following message:
The text was updated successfully, but these errors were encountered: