mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-03-11 23:59:52 +00:00
fix: install commit-msg hook for local commitlint checks (#189)
This commit is contained in:
1
Makefile
1
Makefile
@@ -139,6 +139,7 @@ pre-commit-install: ## Install pre-commit hooks
|
||||
@command -v pre-commit >/dev/null 2>&1 || \
|
||||
{ echo "Please install pre-commit or run 'make devtools'"; exit 1; }
|
||||
pre-commit install
|
||||
pre-commit install --hook-type commit-msg
|
||||
|
||||
pre-commit-update: ## Update pre-commit hooks to latest versions
|
||||
@echo "Updating pre-commit hooks..."
|
||||
|
||||
Reference in New Issue
Block a user