Skip to content

Commit

Permalink
fix(husky): disable commitlint in CI (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
czosel authored Jan 6, 2022
1 parent 20fb260 commit 115e044
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

# skip in CI
[ -n "$CI" ] && exit 0

# lint commit message
yarn commitlint --edit $1
yarn commitlint --edit $1

0 comments on commit 115e044

Please sign in to comment.