Skip to content

[7.119] Update GitHub Actions to Node 24-compatible versions - #772

Draft
sbouchet wants to merge 1 commit into
che-incubator:7.119.xfrom
sbouchet:nodejs
Draft

[7.119] Update GitHub Actions to Node 24-compatible versions#772
sbouchet wants to merge 1 commit into
che-incubator:7.119.xfrom
sbouchet:nodejs

Conversation

@sbouchet

Copy link
Copy Markdown
Collaborator

GitHub is deprecating Node 20 on Actions runners (June 16, 2026). Upgrade all action versions to their Node 24-compatible releases:

  • actions/checkout v4 → v6
  • actions/upload-artifact v4 → v6
  • actions/download-artifact v4 → v6
  • actions/setup-node v4 → v6
  • docker/login-action v2/v3 → v4
  • docker/setup-qemu-action v2 → v4
  • docker/setup-buildx-action v2 → v4
  • node-version "18" → "22" (EOL mitigation)

Also replace ishworkh/container-image-artifact actions with docker save/load + actions/upload-artifact@v6 / download-artifact@v6 pattern to eliminate third-party dependency.

Add Dependabot configuration for weekly GitHub Actions updates.

Assisted-by: Claude Opus 4.6 noreply@anthropic.com

  • Update .github/workflows/image-publish.yml

  • using vscode .nvmrc file for using correct node version.

  • Bump upload-artifact and download-artifact from v6 to v7

actions/download-artifact@v6 still uses Node.js 20, which GitHub will force to Node.js 24 on June 16, 2026. Align both upload-artifact and download-artifact to v7 which uses Node.js 24 natively.


What does this PR do?

What issues does this PR fix?

How to test this PR?

Does this PR contain changes that override default upstream Code-OSS behavior?

  • the PR contains changes in the code folder (you can skip it if your changes are placed in a che extension )
  • the corresponding items were added to the CHANGELOG.md file
  • rules for automatic git rebase were added to the .rebase folder

* Update GitHub Actions to Node 24-compatible versions

GitHub is deprecating Node 20 on Actions runners (June 16, 2026).
Upgrade all action versions to their Node 24-compatible releases:
- actions/checkout v4 → v6
- actions/upload-artifact v4 → v6
- actions/download-artifact v4 → v6
- actions/setup-node v4 → v6
- docker/login-action v2/v3 → v4
- docker/setup-qemu-action v2 → v4
- docker/setup-buildx-action v2 → v4
- node-version "18" → "22" (EOL mitigation)

Also replace ishworkh/container-image-artifact actions with
docker save/load + actions/upload-artifact@v6 / download-artifact@v6
pattern to eliminate third-party dependency.

Add Dependabot configuration for weekly GitHub Actions updates.

Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>

* Update .github/workflows/image-publish.yml

Co-authored-by: Anatolii Bazko <abazko@redhat.com>

* using vscode .nvmrc file for using correct node version.

Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>

* Bump upload-artifact and download-artifact from v6 to v7

actions/download-artifact@v6 still uses Node.js 20, which GitHub will
force to Node.js 24 on June 16, 2026. Align both upload-artifact and
download-artifact to v7 which uses Node.js 24 natively.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Click here to review and test in web IDE: Contribute

@sbouchet sbouchet changed the title Update GitHub Actions to Node 24-compatible versions [7.119] Update GitHub Actions to Node 24-compatible versions Jul 27, 2026
@sbouchet
sbouchet marked this pull request as draft July 27, 2026 16:39
@github-actions

Copy link
Copy Markdown
Contributor

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