diff --git a/.github/.hooks/commit-msg/check-commit-msg.sh b/.github/.hooks/commit-msg/check-commit-msg.sh new file mode 100644 index 00000000..63669ce6 --- /dev/null +++ b/.github/.hooks/commit-msg/check-commit-msg.sh @@ -0,0 +1,6 @@ +#!/usr/bin + +set -e + +commit_msg=$(cat .git/COMMIT_EDITMSG) +echo "$commit_msg" | npx commitlint \ No newline at end of file