From 1813bbdba3c923324e96cc09ce62c716a43c36a6 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 16 Aug 2026 20:11:15 +0800 Subject: [PATCH] =?UTF-8?q?chore(quality):=20checks.sh=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20license-check=20=E9=97=A8=E7=A6=81=EF=BC=88?= =?UTF-8?q?=E9=98=B2=20SPDX=20=E5=A4=B4=E5=86=8D=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .auto/checks.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.auto/checks.sh b/.auto/checks.sh index 047567f4..9fbebb39 100755 --- a/.auto/checks.sh +++ b/.auto/checks.sh @@ -29,6 +29,16 @@ echo "==> pnpm exec vitest run (frontend)" exit 1 } +# SPDX license 头门禁(repo 自带约定) +echo "==> make license-check" +make license-check 2>&1 | grep "needs license" | head -10 || true +if make license-check > /tmp/auto_license.log 2>&1; then + : +else + tail -15 /tmp/auto_license.log + exit 1 +fi + # 并发密集包 -race 门禁(2026-08-16 全仓 -race 清零后纳入,防回归; # frpc/frps 慢套件不含在此,另做全量周期验证) echo "==> go test -race (concurrency packages)"