Skip to content

ci: upgrade GitHub Actions off the deprecated Node.js 20 runtime#2886

Merged
mikeland73 merged 1 commit into
mainfrom
mikeland73/upgrade-node20-jobs
Jun 22, 2026
Merged

ci: upgrade GitHub Actions off the deprecated Node.js 20 runtime#2886
mikeland73 merged 1 commit into
mainfrom
mikeland73/upgrade-node20-jobs

Conversation

@mikeland73

Copy link
Copy Markdown
Collaborator

Summary

GitHub is deprecating the Node.js 20 Actions runtime, so every action targeting node12/16/20 now emits a deprecation warning; this bumps all of them across the 9 workflow files to their latest release (node24) — checkout v7, setup-go v6, setup-node v6, cache v5, upload-artifact v7, download-artifact v8, github-script v9, stale v10, configure-aws-credentials v6, goreleaser-action v7, action-gh-release v3, the docker/* actions, and github-tag-action v6.2. The only breaking change requiring code edits was slackapi/slack-github-action v1→v3, which moved the webhook URL from the SLACK_WEBHOOK_URL env var to a webhook input and made webhook-type: incoming-webhook required (migrated both Slack steps in cli-release.yml). All other major bumps were verified input-compatible for how this repo uses them. Composite actions (getsentry, typos, nix-installer) and already-node24 actions (action-tmate, wait-for-workflows) were left alone since they don't emit the warning, and the branch-pinned devbox-install-action was left as-is. Note: mathieudutour/github-tag-action's latest release still targets node20 upstream, so it will keep warning until they ship a node24 build.

How was it tested?

Validated all 9 workflow files parse as valid YAML and confirmed every target version's action.yml declares runs.using: node24 by reading each at its pinned tag. No runtime behavior was changed beyond the action versions and the Slack input migration.

Community Contribution License

All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.

By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.

GitHub is deprecating the Node.js 20 Actions runtime, and actions
targeting node12/16/20 now emit deprecation warnings. Bump every
affected action across all workflows to its latest release (node24).

Notably this migrates slackapi/slack-github-action v1 -> v3, which moved
the webhook URL from the SLACK_WEBHOOK_URL env var to a `webhook` input
and made `webhook-type` required. All other major bumps (checkout v7,
upload-artifact v7, download-artifact v8, github-script v9,
configure-aws-credentials v6, etc.) are input-compatible for this repo.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 22, 2026 02:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s GitHub Actions workflows to newer major versions of common actions (many now targeting the node24 runtime) to avoid deprecation warnings from actions still built for older Node.js runtimes.

Changes:

  • Bumped actions/* core actions across workflows (e.g., checkout, setup-go, setup-node, cache, upload-artifact, download-artifact, github-script).
  • Bumped Docker publishing actions to newer major versions (docker/* actions).
  • Migrated Slack notification steps in cli-release.yml to slackapi/slack-github-action@v3 using webhook + webhook-type.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/vscode-ext-release.yaml Updates checkout/setup-node versions for VS Code extension release workflow.
.github/workflows/stale-issue-cleanup.yml Updates actions/stale to v10 (node24 runtime).
.github/workflows/random-reviewer-assignment.yml Updates actions/github-script to v9 (node24 runtime).
.github/workflows/docker-image-release.yml Updates Docker build/publish actions to newer major versions (node24 runtime).
.github/workflows/debug.yaml Updates checkout/setup-go versions for the debug workflow.
.github/workflows/cli-tests.yaml Updates checkout, setup-go, artifact upload/download, and cache action versions.
.github/workflows/cli-release.yml Updates multiple actions and migrates Slack action usage to v3 inputs.
.github/workflows/cli-post-release.yml Updates configure-aws-credentials to v6 and comment alignment.
.github/workflows/cache-upload.yml Updates checkout/setup-go versions for the cache upload workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +11 to 13
- uses: actions/stale@v10
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove the `stale` label or add a comment, otherwise this issue will be closed in 5 days.'
@mikeland73 mikeland73 merged commit d397cb8 into main Jun 22, 2026
22 checks passed
@mikeland73 mikeland73 deleted the mikeland73/upgrade-node20-jobs branch June 22, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants