From a7d5f2a2b41ed39411f02b5d8f5d9e34b3cf9364 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 26 Apr 2025 22:10:05 -0400 Subject: chore(husky): aha that's how you do [skip ci] Signed-off-by: Xe Iaso --- .husky/commit-msg | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to '.husky/commit-msg') 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 -- cgit v1.2.3