Skip to content

Use checkout@v5 - bumps minimum node.js to v24 and removes deprecation notice - #74

Merged
kevgo merged 2 commits into
git-town:mainfrom
cincauhangus:patch-1
Aug 28, 2026
Merged

Use checkout@v5 - bumps minimum node.js to v24 and removes deprecation notice#74
kevgo merged 2 commits into
git-town:mainfrom
cincauhangus:patch-1

Conversation

@cincauhangus

@cincauhangus cincauhangus commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Description

This resolves the following deprecation warning:

image

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, git-town/action@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Stack

Comment thread .github/workflows/git-town.yml Outdated

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

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.

While you are at it, you could update all the way to v6.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

And update the other workflows 🙂

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this blocked by the failing workflow?
What was the issue?
I can work on this if @cincauhangus does not have the time right now 🙇

@kevgo kevgo 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.

Sorry, I didn't notice that my comments were addressed.

@kevgo
kevgo merged commit 206fc9d into git-town:main Aug 28, 2026
6 of 7 checks passed
@cincauhangus
cincauhangus deleted the patch-1 branch August 28, 2026 04:03
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.

4 participants