Skip to content

Update GitHub Actions to address Node.js 20 deprecation#2272

Merged
andyleejordan merged 1 commit intomainfrom
copilot/update-github-workflows-actions
Apr 3, 2026
Merged

Update GitHub Actions to address Node.js 20 deprecation#2272
andyleejordan merged 1 commit intomainfrom
copilot/update-github-workflows-actions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

Summary

Updates all GitHub Actions in the CI/CD workflows to newer versions that support Node.js 24, addressing the upcoming Node.js 20 deprecation (EOL April 2026, removed from runners fall 2026).

Changes

Action Before After Node.js Runtime
actions/checkout v4 v6 Node.js 24
actions/setup-dotnet v4 v5 Node.js 24
actions/upload-artifact v4 v5 Node.js 24
actions/stale v9 v10 Node.js 24
lhotari/action-upterm v1 (archived, Node.js 16) owenthereal/action-upterm@v1 Node.js 20 (maintained fork)
purcell/setup-emacs @master @v8.0 Composite (no JS runtime)
rhysd/action-setup-vim v1 v1 (no change) Already Node.js 24

Workflow Files Modified

  • .github/workflows/ci-test.yml
  • .github/workflows/vim-test.yml
  • .github/workflows/emacs-test.yml
  • .github/workflows/close-stale-issues.yml

- actions/checkout: v4 → v6 (Node.js 24)
- actions/setup-dotnet: v4 → v5 (Node.js 24)
- actions/upload-artifact: v4 → v5 (Node.js 24)
- actions/stale: v9 → v10 (Node.js 24)
- lhotari/action-upterm → owenthereal/action-upterm (maintained fork)
- purcell/setup-emacs: @master → @v8.0 (pin to tag)

Agent-Logs-Url: https://github.com/PowerShell/PowerShellEditorServices/sessions/cd687667-7088-4930-a154-7d87e9c55860

Co-authored-by: andyleejordan <2226434+andyleejordan@users.noreply.github.com>
Copilot AI requested a review from andyleejordan April 3, 2026 00:25
@andyleejordan andyleejordan marked this pull request as ready for review April 3, 2026 01:42
@andyleejordan andyleejordan requested a review from a team as a code owner April 3, 2026 01:42
Copilot AI review requested due to automatic review settings April 3, 2026 01:42
Copy link
Copy Markdown
Member

@andyleejordan andyleejordan left a comment

Choose a reason for hiding this comment

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

Thanks Claude!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 GitHub Actions versions across CI/CD workflows to avoid breakage from the upcoming GitHub-hosted runner deprecation of Node.js 20-based JavaScript actions.

Changes:

  • Bumped actions/checkout to v6 and actions/setup-dotnet to v5 across test workflows.
  • Bumped actions/upload-artifact to v5 and actions/stale to v10.
  • Replaced lhotari/action-upterm@v1 with owenthereal/action-upterm@v1 and pinned purcell/setup-emacs to v8.0 (instead of master).

Reviewed changes

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

File Description
.github/workflows/ci-test.yml Updates checkout/setup-dotnet/upload-artifact versions and switches the upterm action fork.
.github/workflows/vim-test.yml Updates checkout/setup-dotnet versions and updates the commented debug upterm action reference.
.github/workflows/emacs-test.yml Updates checkout/setup-dotnet versions and pins setup-emacs to a versioned release.
.github/workflows/close-stale-issues.yml Updates actions/stale to v10 for issue housekeeping jobs.

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

Comment on lines 46 to 50
- name: If debugging, start upterm for interactive pipeline troubleshooting
if: ${{ runner.debug == 1 }}
uses: lhotari/action-upterm@v1
uses: owenthereal/action-upterm@v1
with:
wait-timeout-minutes: 1
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

The PR description says owenthereal/action-upterm@v1 is a Node.js 20-based JavaScript action. If that's still true, it won’t actually address the upcoming Node 20 deprecation on GitHub-hosted runners (it may break once Node 20 is removed). Consider switching to an upterm/tmate action release that declares runs.using: node24, or replacing this step with a composite/docker-based alternative that won’t depend on the runner’s Node runtime.

Copilot uses AI. Check for mistakes.
@andyleejordan andyleejordan merged commit a2fcac6 into main Apr 3, 2026
13 checks passed
@andyleejordan andyleejordan deleted the copilot/update-github-workflows-actions branch April 3, 2026 16:02
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.

3 participants