Skip to content

chore: update actions using Node.js 20 to Node.js 24 #3

Description

@CybotTM

Problem

GitHub will force JavaScript actions to Node.js 24 on 2026-06-02. Two actions in our reusable workflows still use node20:

  • gitleaks/gitleaks-action@v2.3.9using: "node20" in action.yml
  • actions/dependency-review-action@v4.9.0using: "node20" in action.yml

Both are at their latest released versions. The upstream repos haven't released Node.js 24 versions yet.

Upstream tracking

Options

  1. Wait for upstream releases (deadline: 2026-06-02)
  2. Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable in affected workflow files to opt in early
  3. Pin to newer commits if upstream pushes node24 support before a release

Affected workflows

  • .github/workflows/gitleaks.yml
  • .github/workflows/dependency-review.yml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions