Changelog not generating when using github squash & merge
bavedarnow opened this issue · comments
When merging pull requests using githubs "squash & merge" feature, it seems like the cz bump processes correctly, but changelog generation does not.
Doing a cz check
against the range fails the commit validation. The commit message of the squashed PR looks something like this:
PR Title here (#123)
refactor: aaaa
fix: bbb
and when doing a cz changelog {version_number}
, I get an empty changelog, but expecting
## version (date)
### Fix
- bbb
### Refactor
- aaaa
The only solution I have is to disable "squash and merge", as well as "create a merge commit", and only enabling "rebase and merge"
I made this in the wrong repo. Opened it here commitizen-tools/commitizen#651