Skip to content

Commit

Permalink
Upgrade Husky and SKIP_GIT_PUSH_HOOK option (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmxs committed Sep 20, 2022
1 parent 890763e commit 3f83bdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .husky/hooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

if [[ "$SKIP_GIT_PUSH_HOOK" ]]; then exit 0; fi

set -e

if git status --short | grep -qv "??"; then
Expand Down
4 changes: 2 additions & 2 deletions .task/fetch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vars:
KUBECTL_VERSION: 1.21.1
KUTTL_VERSION: 0.12.1
ENVSUBST_VERSION: 1.2.0
HUSKY_VERSION: 0.2.8
HUSKY_VERSION: 0.2.14
CAP_ARCH:
sh: uname
tasks:
Expand Down Expand Up @@ -98,4 +98,4 @@ tasks:
- chmod +x ./bin/husky
- ./bin/husky install
status:
- test -f ./bin/husky
- test -f ./bin/husky

0 comments on commit 3f83bdd

Please sign in to comment.