-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Can't add a custom prefix that has space in it e.g BREAKING CHANGE
#257
Comments
Hmm, interesting. If you'd be interested in analyzing this and potentially setting up a PR, I'd be happy to review it. The only thing we document is that the types need to be newline-delimited: # Configure which types are allowed (newline-delimited).
# Default: https://github.com/commitizen/conventional-commit-types
types: |
fix
feat This is the corresponding parsing logic: action-semantic-pull-request/src/ConfigParser.js Lines 1 to 9 in 67cbd7a
As an alternative, you can use the exclamation mark syntax that is used by Conventional Commits to indicate breaking changes (see the readme). |
isnt the according to conventional commits, a subject line specifies a breaking change by using for eg:
OR
Ref:
|
Yes, @lwhiteley I think the issue is still valid because this tool won't accept anything that have space as a valid semantic PR title (Even if you customize them to be what you want). At the end we where able to workaround this issue by doing a |
Is your feature request related to a problem? Please describe.
Hey, so we are using semantic-release to create our Github Releases using the following prefix table
I wanted to add BREAKING CHANGE: as a valid prefix because
semantic-release
uses it to create major/breaking releases but when I try it it just errors out.Example of configuration:
But even after adding that it still errors out with:
Describe the solution you'd like
Be able to add BREAKING CHANGE as an acceptable prefix so we can use it together with this action
Describe alternatives you've considered
Using
perf
prefix that is accepted by the conventionalcommits but sometimes this doesn't reflect the type of change that we are introducing.The text was updated successfully, but these errors were encountered: