Skip to content

github: update the github-action versions to fix some warnings about nodejs-20 instead of nodejs-24 - #400

Merged
glesur merged 1 commit into
idefix-code:developfrom
svalat:feature/update-gitaction-versions
Aug 19, 2026
Merged

github: update the github-action versions to fix some warnings about nodejs-20 instead of nodejs-24#400
glesur merged 1 commit into
idefix-code:developfrom
svalat:feature/update-gitaction-versions

Conversation

@svalat

@svalat svalat commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Target

Try to avoid the warning about NodeJS-20 instead of NodeJS-24 in github actions.

In theory updating the versions of the action libraries used in the project should avoid the warning.

I updated to last release available :

  • actions/checkout : 3.6.0 -> 7.0.1
  • actions/setup-python : 4.9.1 -> 6.3.0 (there is a 7.0.0 just released one month ago, but I preferred to used the last stable one).
  • pre-commit/action : 3.0.0 -> 3.0.1
  • pre-commit-ci/lite-action : 1.0.0 -> 1.0.1

Pointers

Migration to NodeJS-24 is effective since 16 june 2026 : https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Warning solved

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v3, actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c, pre-commit-ci/lite-action@50143aaf27e2c42e75a5e06185a471d9582e89df. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Still

The port to NodeJS-24 is not yet done "a priori" for pre-commit-ci/lite-action so the upgrade do not solve it. To be seen later.

@neutrinoceros

Copy link
Copy Markdown
Collaborator

I'd recommend setting up dependabot to automate these upgrades. It now supports arbitrary cooldown periods so you can easily exclude too-new versions.

@glesur

glesur commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

@neutrinoceros : thanks for the suggestion. We don’t believe that the GitHub Actions and Python dependencies are so crucial to the project that they necessitate a dependabot, so we will continue to perform manual updates.

@glesur

glesur commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

@svalat : there are a bunch of warning
"Failed to download action 'https://codeload.github.com/actions/checkout/tar.gz/3d3c42e5aac5ba805825da76410c181273ba90b1'. Error: Response status code does not indicate success: 429 (Too Many Requests). "
In the ci workflow. Any idea where this is coming from?

@neutrinoceros

Copy link
Copy Markdown
Collaborator

If you want to keep doing them manually I recommend pinact (or gha-update)

@neutrinoceros

Copy link
Copy Markdown
Collaborator

pinact run update supports a -min-age option to implement cooldowns

@glesur
glesur merged commit 8d8508a into idefix-code:develop Aug 19, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants