aboutsummaryrefslogtreecommitdiff
path: root/.githooks
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-02 21:48:02 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-02 21:48:02 +0300
commitb751d102f158968aab681cb663d27b4c32197f62 (patch)
tree85d03609314559df7705c2cb0ab4e37ab6d9715f /.githooks
parent295b09ca25edbccac65401ee84fa420dd3888aad (diff)
feat: add preview update channel
Diffstat (limited to '.githooks')
-rwxr-xr-x.githooks/commit-msg7
1 files changed, 7 insertions, 0 deletions
diff --git a/.githooks/commit-msg b/.githooks/commit-msg
new file mode 100755
index 00000000..c8cbadc1
--- /dev/null
+++ b/.githooks/commit-msg
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repo_root="$(git rev-parse --show-toplevel)"
+cd "$repo_root"
+
+python3 scripts/conventional_commits.py --message-file "$1"