diff --git a/.husky/pre-push b/.husky/pre-push index b9b77a7c1..d4021f921 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -2,6 +2,11 @@ readonly DEV='dev' +if [[ -z "$CI" ]]; then + echo "[info] skip confirm on CI" + exit 0 +fi + while read local_ref local_sha1 remote_ref remote_sha1 do if [[ "${remote_ref##refs/heads/}" = $DEV ]]; then