githooks-pre-push-template.sh 234 Bytes
#!/usr/bin/env bash
# .githooks/pre-push — run scripts/test.sh before every push.
# No --no-verify: the claude-code hook deny-no-verify.sh also blocks it.

set -euo pipefail

cd "$(git rev-parse --show-toplevel)"

./scripts/test.sh