From 96b4a24b3f3f048bc0ab51dc5b2b80050889bcb2 Mon Sep 17 00:00:00 2001 From: Blair Hamilton Date: Thu, 2 Jul 2026 18:36:59 -0400 Subject: [PATCH] ci: bump Node 20 actions to Node 24 versions (pre-commit-advisory) All target the deprecated Node 20 runtime (forced to Node 24 with a warning under FORCE_JAVASCRIPT_ACTIONS_TO_NODE24). Verified Node 24-native targets: - actions/setup-python v5 -> v6 - actions/cache v4 -> v5 - actions/setup-node v4 -> v5 - peter-evans/find-comment v3 -> v4 - peter-evans/create-or-update-comment v4 -> v5 Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/pre-commit-advisory.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-commit-advisory.yml b/.github/workflows/pre-commit-advisory.yml index 5ab35ca..6843000 100644 --- a/.github/workflows/pre-commit-advisory.yml +++ b/.github/workflows/pre-commit-advisory.yml @@ -112,7 +112,7 @@ jobs: run: dotnet tool restore # Optional: install Node + enable pnpm + install workspace deps. - # setup-node@v4 with cache:pnpm caches the pnpm content-addressable + # setup-node@v6 with cache:pnpm caches the pnpm content-addressable # store across runs, so `pnpm install --frozen-lockfile` is mostly # a symlink-create after the first run (5-10s typical). - name: Enable corepack (pnpm) @@ -204,7 +204,7 @@ jobs: - name: Find existing advisory comment if: github.event_name == 'pull_request' id: find - uses: peter-evans/find-comment@v3 + uses: peter-evans/find-comment@v4 with: issue-number: ${{ github.event.pull_request.number }} comment-author: github-actions[bot] @@ -212,7 +212,7 @@ jobs: - name: Post or update PR comment if: github.event_name == 'pull_request' - uses: peter-evans/create-or-update-comment@v4 + uses: peter-evans/create-or-update-comment@v5 with: comment-id: ${{ steps.find.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }}