Repository Public
1#!/bin/bash2# Installs the CI gate as a git pre-push hook (the forge, spbgit, has no hosted CI runner).3set -euo pipefail4cd "$(dirname "$0")/.."5printf '#!/bin/bash\nexec "$(git rev-parse --show-toplevel)/scripts/ci.sh"\n' > .git/hooks/pre-push6chmod +x .git/hooks/pre-push7echo "pre-push hook installed"8