Skip to content

Instantly share code, notes, and snippets.

@joonas
Last active December 29, 2025 19:17
Show Gist options
  • Select an option

  • Save joonas/8a4ea725969c765d775c76434d6fbe61 to your computer and use it in GitHub Desktop.

Select an option

Save joonas/8a4ea725969c765d775c76434d6fbe61 to your computer and use it in GitHub Desktop.
minimal `hk.pkl` setup to run check-conventional-commit built-in for commit messages
amends "package://github.com/jdx/hk/releases/download/v1.28.0/hk@1.28.0#/Config.pkl"
import "package://github.com/jdx/hk/releases/download/v1.28.0/hk@1.28.0#/Builtins.pkl"
hooks {
["commit-msg"] {
steps {
["conventional-commit"] = Builtins.check_conventional_commit
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment