From 0b9f291ff1656ad7eef5912696ecd1a50b1bcb17 Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Mon, 6 Jul 2026 00:03:05 +0800 Subject: [PATCH] =?UTF-8?q?ci(checks):=20shellcheck=20=E8=A6=86=E7=9B=96?= =?UTF-8?q?=20scripts/ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1aea2df..b5e2301 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -38,6 +38,16 @@ jobs: /mnt/deploy/bootstrap/monitor/deadman-watch.sh \ /mnt/deploy/single-node/deploy.sh + - name: shellcheck CI 脚本(scripts/ci) + run: | + docker run --rm \ + -v "$PWD/scripts/ci:/mnt/scripts/ci:ro" \ + koalaman/shellcheck:stable \ + -S warning \ + /mnt/scripts/ci/_env.sh \ + /mnt/scripts/ci/lib-forgejo.sh \ + /mnt/scripts/ci/notify.sh + # ── Job 2: OpenAPI Sync Check ──────────────────────────────────────────── openapi-check: name: OpenAPI Sync Check