Bump actions/github-script to v9#6
Merged
Merged
Conversation
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.
Cloudflare Pages previewDeployed this PR to a live preview: https://feature-bump-github-script-v.learnvcorg.pages.dev This deploy: https://d63d0d7b.learnvcorg.pages.dev Updated for commit aba0128. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to the wrangler-action v4 bump.
actions/github-script@v7(the step that posts the preview URL comment) also runs on the Node 20 runtime, which GitHub removes from runners after June 16, 2026. This bumps it to@v9(Node 24).Compatibility verified
v9's breaking changes concern
require('@actions/github')andgetOctokitredeclaration. Our comment script uses only the injectedgithubandcontextobjects (plusprocess.env), so no script changes are needed.Testing
This PR runs the workflow, so a successful deploy + preview comment below confirms v9 works. After this, no Node 20 deprecation warnings should remain in the workflow.
🤖 Generated with Claude Code