dotCMS / dotCMS/core

CI: bump first-party Actions to Node-24 majors (checkout, setup-node, setup-python, github-script, cache)

Open
#36,085 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale Team : Maintenance Team : Platform Type : Task
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem

GitHub is deprecating Node 20 for Actions: runners default to Node 24 on 2026-06-16, and Node 20 is removed in fall 2026. Our workflows pin several first-party actions to Node-20 majors, producing deprecation warnings (e.g. actions/checkout@v4).

A smoke-test (forcing the whole PR pipeline onto Node 24 via FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true) passed end-to-end, so nothing breaks at the cutover — this is cleanup to clear the warnings on a verified runtime.

Change

Bump the clean single-major first-party actions to their verified Node-24 majors, repo-wide:

Action From To
actions/checkout v2/v3/v4 v5
actions/setup-node v4, v2-beta v5
actions/setup-python v4 v6
actions/github-script v7 v8
actions/cache v4 v5

Deferred (separate, reviewed change): upload-artifact (v4→v6) and download-artifact (v4→v7) are 2–3 major jumps with breaking API history; they run fine on Node 24 when forced, so they're handled separately after reviewing breaking changes.

Note: the first Node-24 release of setup-python, upload-artifact, and download-artifact is not v5 (it's v6/v6/v7 respectively), confirmed from each action's action.yml.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository's GitHub Actions workflow files for the listed checkout, setup-node, setup-python, github-script, and cache references. Update only those actions to the specified Node-24 majors, leave artifact actions deferred, and verify the workflows with the Node-24 smoke-test pipeline.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.