Skip to content

ci: move the dispatcher's actions off Node 20 - #89

Merged
Ardnived merged 1 commit into
mainfrom
claude/node24-actions
Sep 10, 2026
Merged

Ardnived merged 1 commit into
mainfrom
claude/node24-actions

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Every dispatcher run is warning:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being
forced to run on Node.js 24: actions/checkout@v4, actions/github-script@v7

Nothing is broken — GitHub already runs them on Node 24 — but the pin should say so.

Action From To Why this major
actions/checkout v4 v5 first major to declare Node 24
actions/github-script v7 v8 same, and v8 exists precisely for this
actions/add-to-project v2 v2 already Node 24

Each bump is the first major that moved to Node 24, so the diff is a runtime change and nothing else. Deliberately not the latest:

  • github-script@v9 drops require('@actions/github'). We never use it — every script takes the injected github — but a breaking change buys nothing when the complaint is about the runtime.
  • checkout@v6/v7 are further still, with no bearing on this.

state-machine.yml is included even though it is legacy, since it still runs whenever BOT_DISPATCH is off and the rollback plan depends on it working.

The product repos need the same treatment plus setup-node and pnpm/action-setup, both also Node 20. Those go one PR per repo so each one's CI proves itself.

GitHub is forcing actions/checkout@v4 and actions/github-script@v7 onto
Node 24 already and warning on every run. checkout v5 and github-script v8
are the first majors that declare it, so each diff is a runtime change and
nothing else.

Not v9: it drops `require('@actions/github')`. Nothing here uses it, but a
breaking change buys nothing when the warning is about the runtime.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant