From 33db1b529f917ceae0e7adfa5be3f7e4b95bd043 Mon Sep 17 00:00:00 2001 From: Chen Date: Wed, 11 Mar 2026 03:25:36 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20=E5=8D=87=E7=BA=A7=20github-script?= =?UTF-8?q?=20=E4=BB=A5=E5=85=BC=E5=AE=B9=20Node=2024?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 CI 工作流中的 actions/github-script 从 v7 升级到 v8 - 消除 GitHub Actions 关于 Node.js 20 弃用的告警 - 采用静态核对作为这次 workflow 小改动的比例化验证 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c5eaa7..71eb0c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: steps: - name: Classify changed files id: classify - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const codePrefixes = [ @@ -237,7 +237,7 @@ jobs: issues: write steps: - name: Render summary and update PR sticky comment - uses: actions/github-script@v7 + uses: actions/github-script@v8 env: EVENT_NAME: ${{ github.event_name }} BASE_REF: ${{ github.base_ref }}