From bbf4296f67e03f00e079e870add411b072e489e8 Mon Sep 17 00:00:00 2001 From: Derek Scruggs Date: Sat, 6 Jun 2026 17:35:44 -0500 Subject: [PATCH] Bump actions/github-script to v9. v7 runs on the deprecated Node 20 runtime, which GitHub removes after June 16, 2026. v9 runs on Node 24. The v9 breaking changes concern require('@actions/github') and getOctokit redeclaration; this script uses only the injected github and context objects, so no code change is needed. --- .github/workflows/preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 6a34050..79ca284 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -74,7 +74,7 @@ jobs: - name: Comment preview URL on the PR if: steps.creds.outputs.ready == 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v9 env: # Per-deploy URL (unique hash) and the stable per-branch alias. DEPLOY_URL: ${{ steps.deploy.outputs.deployment-url }}