docs: add convential commits commit-msg hook

pull/1284/head
Tomas Susanka 4 years ago
parent 649e31cef0
commit 59b8a5a81f

@ -0,0 +1,6 @@
#!/bin/sh
if ! grep -qE "^(build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert)(\((common|core|crypto|legacy|python|storage|tools|vendor)\))?: " "$1" ; then
echo "Conventional Commits validation failed"
exit 1
fi
Loading…
Cancel
Save