Skip to content

Commit f3ff10d

Browse files
committed
fix(common): run first coverage hook
1 parent fd6e539 commit f3ff10d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/hooks/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ if $HAS_PREPUSH && $HAS_COVERAGE; then
6868
REPO_ROOT="$(git rev-parse --show-toplevel)"
6969
HOOKS_SRC="$REPO_ROOT/.github/hooks"
7070
71-
# Quality gates (blocking)
72-
"$HOOKS_SRC/pre-push" "$@" || exit $?
73-
7471
# Coverage check (non-blocking)
7572
"$HOOKS_SRC/pre-push-coverage" "$@"
73+
74+
# Quality gates (blocking)
75+
"$HOOKS_SRC/pre-push" "$@" || exit $?
7676
exit 0
7777
WRAPPER
7878
chmod +x "$GIT_HOOKS_DIR/pre-push"

0 commit comments

Comments
 (0)