From 015caed3b496e168dc53ac2acdb714fccb530ac4 Mon Sep 17 00:00:00 2001 From: Jay McDoniel Date: Mon, 10 May 2021 10:55:22 -0700 Subject: [PATCH] chore: don't run commit-msg hook in CI --- .husky/commit-msg | 1 + 1 file changed, 1 insertion(+) diff --git a/.husky/commit-msg b/.husky/commit-msg index 180420ab4..868e815e5 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,5 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" +[ -n "$CI" ] && exit 0 ./node_modules/.bin/commitlint --edit $1