A commit message that has "breaking:" in any part of it will trigger a major version bump, even if it is inside a comment (# :breaking:).
Can this be reviewed to only match "breaking:" and "feature:" at the start of the commit message?
I think that only the following commit messages should trigger a bump:
"breaking: (...)"
":breaking: (...)"
" breaking: (...)" (leading whitespaces but not newline)
" :breaking: (...)" (leading whitespaces but not newline)
and then the same thing for "feature:".
A commit message that has "breaking:" in any part of it will trigger a major version bump, even if it is inside a comment (# :breaking:).
Can this be reviewed to only match "breaking:" and "feature:" at the start of the commit message?
I think that only the following commit messages should trigger a bump: "breaking: (...)" ":breaking: (...)" " breaking: (...)" (leading whitespaces but not newline) " :breaking: (...)" (leading whitespaces but not newline) and then the same thing for "feature:".