Skip to content

Conversation

@salmanmkc
Copy link

Summary

Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.

Changes

Action Old Version(s) New Version Release Files
actions/checkout v2, v4 v6 Release blossom-ci.yml, build.yml, lint.yml, nvfuser-ci-trigger.yml, pull.yml
actions/github-script v7 v8 Release auto-merge.yml, cleanup-auto-merge-label.yml, upload-ci-logs-v2.yml
actions/setup-python v4 v6 Release build.yml, lint.yml

Context

Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026.

Why this matters

  • Node 20 EOL: April 2026
  • Node 24 default: March 4th, 2026
  • Action: Update to latest action versions that support Node 24

Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Dec 16, 2025

Greptile Overview

Greptile Summary

This PR upgrades GitHub Actions to their latest versions for Node 24 compatibility ahead of Node 20's end-of-life in April 2026.

  • Upgraded actions/checkout from v2/v4 to v6 across 5 workflow files
  • Upgraded actions/github-script from v7 to v8 in 3 workflow files
  • Upgraded actions/setup-python from v4 to v6 in 2 workflow files
  • Line endings normalized (CRLF → LF) in blossom-ci.yml and pull.yml

No functional changes to workflow logic - all updates are version tag bumps only.

Confidence Score: 5/5

  • This PR is safe to merge - it only contains version tag updates with no changes to workflow logic.
  • All changes are straightforward version bumps from older GitHub Actions to their latest versions. No workflow logic, scripts, or configuration parameters were modified. The action APIs are backward compatible between versions.
  • No files require special attention.

Important Files Changed

File Analysis

Filename Score Overview
.github/workflows/auto-merge.yml 5/5 Upgraded actions/github-script from v7 to v8 in 4 locations for Node 24 compatibility.
.github/workflows/blossom-ci.yml 5/5 Upgraded actions/checkout from v2 to v6. File also has line ending normalization (CRLF → LF).
.github/workflows/build.yml 5/5 Upgraded actions/checkout from v4 to v6 and actions/setup-python from v4 to v6 in both jobs.
.github/workflows/cleanup-auto-merge-label.yml 5/5 Upgraded actions/github-script from v7 to v8 for Node 24 compatibility.
.github/workflows/lint.yml 5/5 Upgraded actions/checkout from v4 to v6 and actions/setup-python from v4 to v6 across 3 jobs.
.github/workflows/nvfuser-ci-trigger.yml 5/5 Upgraded actions/checkout from v2 to v6 for Node 24 compatibility.
.github/workflows/pull.yml 5/5 Upgraded actions/checkout from v4 to v6. File also has line ending normalization (CRLF → LF).
.github/workflows/upload-ci-logs-v2.yml 5/5 Upgraded actions/github-script from v7 to v8 for Node 24 compatibility.

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant GH as GitHub Actions
    participant Runner as Runner (Node 24)

    Dev->>GH: Push code / Create PR
    GH->>Runner: Trigger workflows
    
    Note over Runner: Version Updates Applied:
    Note over Runner: checkout v6
    Note over Runner: github-script v8
    Note over Runner: setup-python v6
    
    Runner->>GH: Execute workflow steps
    GH->>Dev: Report CI status
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@salmanmkc salmanmkc force-pushed the upgrade-github-actions-node24 branch from b398295 to 5dffd33 Compare December 16, 2025 12:11
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant