datadrivers/terraform-provider-nexus

pre-commit commitizen not working anymore

Opened this issue ยท 2 comments

anmoel commented

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

x

Nexus Provider Version

x

Nexus Version

x

Affected Resource(s)/Data Source(s)

x

Terraform Configuration Files

x

Debug Output/Panic Output

x

Expected Behaviour

a commit with message "testcommit" should fail throw the pre-commit hook commitizen

Actual Behaviour

it's not failing

Steps to Reproduce

pre-commit install
touch testfile
git add testfile
git commit -m "testcommit"

References

No response

One has to run:
pre-commit install --hook-type commit-msg --hook-type pre-push for the commitizen hooks to work properly.
Running install without specifying hook types is not enough.

https://commitizen-tools.github.io/commitizen/getting_started/#integration-with-pre-commit

I want to bring up the discussion, if commitizen is still the best tool for the job?