From b75564483974282816bf3ec155345c22d0fe884f Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:26:00 +0800 Subject: [PATCH 1/3] ci: add workflow lint and whitespace checks Co-Authored-By: Codex --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74ce6e9..82d479e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,16 @@ permissions: contents: read jobs: + actionlint: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Actionlint + uses: docker://rhysd/actionlint:1.7.12 + test: runs-on: ubuntu-latest timeout-minutes: 20 @@ -17,6 +27,16 @@ jobs: - name: Checkout uses: actions/checkout@v6 + - name: Check whitespace + run: | + set -euo pipefail + if [ "${{ github.event_name }}" = "pull_request" ]; then + git fetch --no-tags --depth=1 origin "${{ github.base_ref }}" + git diff --check "origin/${{ github.base_ref }}...HEAD" + else + git diff-tree --check --no-commit-id --root -r HEAD + fi + - name: Resolve QuantPlatformKit ref id: quant-platform-kit-ref run: | From de26888aa93cd207af76a5b85a3d11730ad84b22 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:29:43 +0800 Subject: [PATCH 2/3] ci: fetch full history for whitespace checks Co-Authored-By: Codex --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82d479e..16ae267 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 + with: + fetch-depth: 0 - name: Check whitespace run: | From ba7d237e3c02fa7aa0df4dae616a40c37c3c2e98 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:35:59 +0800 Subject: [PATCH 3/3] chore: retrigger branch protection checks Co-Authored-By: Codex