-
Notifications
You must be signed in to change notification settings - Fork 33
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
Conventional Commits pre-commit check is not working #130
Comments
Commit's vanished because I had to force push, but the commit message was literally |
I don't think the pre-commit module actually adds a flake check. Also, https://github.com/convco/convco We can run this manually |
Yeah, when running in a flake check it won't have access to |
A PR can have multiple commits, so whatever flake check we add must check all of them. |
But since git history will be available, perhaps it should be run outside of Nix, in github actions. |
This command checks for all the commits on the current branch, starting from cz check --rev-range main..HEAD |
Cool. We should also consider #134 when deciding between |
Can’t do this until NixOS/nix#6900 |
I have made some progress at https://github.com/juspay/services-flake/tree/cz-check, will wait until there is a reliable way to copy |
Copying |
I doubt we can pass this to flake check in a straightforward way. One hack to make this work will be to use |
FYI: this recent commit 5960a2c does not follow the convention, so it is going to be missed when we next generate the changelog. @shivaraj-bh |
The second commit in PR #127 has the commit message use same installer - yet the pre-commit check did not catch it, as it doesn't comfort to conventional commits spec.
The text was updated successfully, but these errors were encountered: