From 2924bf08bdba569064b2cb10c906aa33fe62b153 Mon Sep 17 00:00:00 2001 From: opariffazman Date: Mon, 16 Nov 2026 11:01:22 +0800 Subject: [PATCH] ci: bump GitHub Actions to latest and keep full SHA pins Bump every third-party and first-party action to its latest release and pin it to the release commit SHA with a trailing version comment. - actions/checkout v6.0.2 -> v7.0.1 (4 lines) - actions/setup-node v6.4.0 -> v7.1.0 (4 lines) - JamesIves/github-pages-deploy-action v4.8.0 -> v4.9.0 (1 line) - rossjrw/pr-preview-action v1.8.1 -> v1.8.2 (1 line) All 10 uses: lines were already SHA-pinned and stay pinned. No Node 20 targets remain in this repo, so these bumps remove no Node 20 lines. Job names, step names, triggers, runner labels and permissions are unchanged. --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/deploy.yml | 6 +++--- .github/workflows/preview.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0166978..c56adbe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 cache: npm @@ -28,8 +28,8 @@ jobs: e2e: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 cache: npm diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2ee4922..ddbe216 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,10 +17,10 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 cache: npm @@ -50,7 +50,7 @@ jobs: run: npm run build - name: Deploy to GitHub Pages if: github.event_name == 'workflow_dispatch' || steps.version.outputs.is_rc == 'true' - uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0 + uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0 with: folder: dist clean-exclude: pr-preview diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index de968af..ea61905 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -16,9 +16,9 @@ jobs: contents: write pull-requests: write steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - if: github.event.action != 'closed' - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 cache: npm @@ -26,6 +26,6 @@ jobs: run: npm install - if: github.event.action != 'closed' run: npx vite build --base /gitverse/pr-preview/pr-${{ github.event.pull_request.number }}/ - - uses: rossjrw/pr-preview-action@ffa7509e91a3ec8dfc2e5536c4d5c1acdf7a6de9 # v1.8.1 + - uses: rossjrw/pr-preview-action@873417d2df72380da1f3978378fb58560bcde976 # v1.8.2 with: source-dir: dist