Skip to content

No more updates for pre-commit action #1553

@reneSchm

Description

@reneSchm

Motivation / Current Behaviour

Our pre-commit CI step causes warnings due to the deprecation of Node 20 in github runners, and may stop working June 2nd.

Enhancement description

Replace pre-commit/action:

  • A custom solution is doable.
  • The pre-commit project offers their own replacement, pre-commit.ci.
  • Look for other solutions? Possibly with C++ and Python auto-formatting?

Additional context

pre-commit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

No one assigned

    Labels

    class::improvementCleanup that doesn't affect functionalityloc::continuous integrationThis issue concerns any problem of continuous integration.

    Type

    Projects

    Status

    Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions