Skip to content

📅 Action Required: Update GitHub Actions to use Node.js 24 #294

@tbrandenburg

Description

@tbrandenburg

🔄 GitHub Actions Maintenance

Severity: Medium (will become critical by June 2026)
Source: GitHub Actions workflow run #23094946934

Problem Description

Multiple GitHub Actions are using deprecated Node.js 20 runtime and need to be updated to Node.js 24 before the forced migration deadline.

Affected Actions

  • actions/checkout@v4
  • actions/setup-node@v4
  • actions/setup-python@v5

Deprecation Warning

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026.

Timeline

  • Current: Warnings in workflow runs
  • June 2, 2026: Actions will be forced to run with Node.js 24
  • Action needed: Update before the deadline to avoid potential disruption

Migration Options

Option 1: Update Actions (Recommended)

Check for newer versions that support Node.js 24:

  • actions/checkout@v5 or later
  • actions/setup-node@v5 or later
  • actions/setup-python@v6 or later

Option 2: Opt-in Early (Temporary)

Add environment variable to workflows:

env:
  FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

Option 3: Temporary Opt-out (Not recommended)

Use only if newer action versions are incompatible:

env:
  ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

Recommended Actions

  1. Audit current actions: Check all workflow files for affected actions
  2. Test updates: Update to newer versions in a test branch
  3. Verify compatibility: Ensure all workflows still function correctly
  4. Update documentation: Update any references to specific action versions
  5. Monitor: Watch for any new deprecation warnings

Additional Resources

Priority

Medium - Should be addressed within the next few months to avoid forced migration issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity/lowLow complexity - straightforward implementationconfidence/highHigh confidence - well understood, low risk of issuespriority/mediumNormal priority - standard workflowrank/5Rank 5 - Normal priorityseverity/mediumMedium severity - limited impact or workaround exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions