diff --git a/.husky/commit-msg b/.husky/commit-msg index d71a03b9f..ed97cdcd7 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,8 @@ #!/bin/sh + +# don't run checks against ci commits +[ -n "$CI" ] && exit 0 + . "$(dirname "$0")/_/husky.sh" yarn commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index d2ae35e84..f5299445e 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,8 @@ #!/bin/sh + +# don't run checks against ci commits +[ -n "$CI" ] && exit 0 + . "$(dirname "$0")/_/husky.sh" yarn lint-staged