aboutsummaryrefslogtreecommitdiff
path: root/.husky/commit-msg
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-26 22:10:05 -0400
committerXe Iaso <me@xeiaso.net>2025-04-26 22:10:05 -0400
commita7d5f2a2b41ed39411f02b5d8f5d9e34b3cf9364 (patch)
treee4cca827e56332d204e121293394694fc47d287d /.husky/commit-msg
parent2335e3316554643cee3ad80c78417c2b89706f60 (diff)
downloadx-a7d5f2a2b41ed39411f02b5d8f5d9e34b3cf9364.tar.xz
x-a7d5f2a2b41ed39411f02b5d8f5d9e34b3cf9364.zip
chore(husky): aha that's how you do [skip ci]
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to '.husky/commit-msg')
-rw-r--r--.husky/commit-msg13
1 files changed, 12 insertions, 1 deletions
diff --git a/.husky/commit-msg b/.husky/commit-msg
index 36158d9..1fe054a 100644
--- a/.husky/commit-msg
+++ b/.husky/commit-msg
@@ -1 +1,12 @@
-npx --no-install commitlint --edit "$1" \ No newline at end of file
+npx --no-install commitlint --edit "$1"
+
+case "$1" in
+ *"[skip ci]"*)
+ echo "Found [skip ci]"
+ exit 0
+ ;;
+ *)
+ echo "No [skip ci] found"
+ npm test
+ ;;
+esac \ No newline at end of file