Closed
Description
Description
Commits like feat!: describing my breaking change
fail at the pre-commit hook
Steps to reproduce
- Make a breaking change
- Include the pre-commit hook from the readme in your pre-commit-config.yaml file and install hooks
- Try to commit with a message like
feat!: breaking change
Current behavior
commitizen check.........................................................Failed
- hook id: commitizen
- exit code: 14
commit validation: failed!
please enter a commit message in the commitizen format.
commit "": "feat!: breaking change"
pattern: (build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert|bump)(\(\S+\))?:(\s.*)
Desired behavior
Check should pass according to https://www.conventionalcommits.org/en/v1.0.0/ rules
Environment
- commitizen version: 2.4.1
- python version: 2.7.16
- operating system: Darwin