Skip to content

Bump actions/github-script to v9#6

Merged
djscruggs merged 1 commit into
mainfrom
feature/bump-github-script-v9
Jun 6, 2026
Merged

Bump actions/github-script to v9#6
djscruggs merged 1 commit into
mainfrom
feature/bump-github-script-v9

Conversation

@djscruggs

Copy link
Copy Markdown
Collaborator

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') and getOctokit redeclaration. Our comment script uses only the injected github and context objects (plus process.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

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-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Cloudflare Pages preview

Deployed 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.

@djscruggs djscruggs merged commit 125d315 into main Jun 6, 2026
1 check passed
@djscruggs djscruggs deleted the feature/bump-github-script-v9 branch June 8, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant