改用本地推送质量检查

This commit is contained in:
yml2213
2026-08-31 12:32:13 +08:00
parent efde8897c8
commit d47360f484
3 changed files with 21 additions and 36 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
git -C "$ROOT_DIR" config core.hooksPath .githooks
echo "已启用 .githooks(推送前执行 backend/frontend 本地检查;SKIP_CHECKS=1 可跳过)"