Skip to content

meta(ci): upgrade GitHub Actions to Node 24 runtime#542

Merged
BYK merged 1 commit intomainfrom
meta/node24-action-upgrades
Mar 23, 2026
Merged

meta(ci): upgrade GitHub Actions to Node 24 runtime#542
BYK merged 1 commit intomainfrom
meta/node24-action-upgrades

Conversation

@BYK
Copy link
Member

@BYK BYK commented Mar 23, 2026

Upgrade all GitHub Actions to versions that use node24 runtime, fixing 13 Node.js 20 deprecation warnings from CI. GitHub will force Node.js 24 starting June 2, 2026.

Action upgrades

Action Old New
actions/checkout @v4 @v6
actions/cache @v4 @v5
actions/upload-artifact @v4 @v7
actions/download-artifact @v4 @v8
actions/setup-node @v4 @v6
actions/create-github-app-token @v2.2.1 @v3
dorny/paths-filter v3.0.2 (SHA pin) @v4

28 references updated across 4 workflow files (ci.yml, release.yml, generate-skill.yml, docs-preview.yml).

Out of scope

  • getsentry/codecov-action@main still uses node20 in its own action.yml — needs a fix in that repo
  • oven-sh/setup-bun@v2 already resolves to node24
  • rossjrw/pr-preview-action@v1 is a composite action (no Node runtime)

@github-actions
Copy link
Contributor

github-actions bot commented Mar 23, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Internal Changes 🔧

  • (ci) Upgrade GitHub Actions to Node 24 runtime by BYK in #542
  • Regenerate skill files by github-actions[bot] in ec1ffe28

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 23, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cli.sentry.dev/pr-preview/pr-542/

Built to branch gh-pages at 2026-03-23 21:26 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 23, 2026

Codecov Results 📊

126 passed | Total: 126 | Pass Rate: 100% | Execution Time: 0ms

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 1028 uncovered lines.
✅ Project coverage is 96.02%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    96.02%    96.02%        —%
==========================================
  Files          185       185         —
  Lines        25805     25805         —
  Branches         0         0         —
==========================================
+ Hits         24777     24777         —
- Misses        1028      1028         —
- Partials         0         0         —

Generated by Codecov Action

@BYK BYK marked this pull request as ready for review March 23, 2026 21:23
Upgrade all actions to versions that use node24, fixing 13 Node.js 20
deprecation warnings. GitHub will force Node.js 24 starting June 2, 2026.

- actions/checkout: v4 → v6
- actions/cache: v4 → v5
- actions/upload-artifact: v4 → v7
- actions/download-artifact: v4 → v8
- actions/setup-node: v4 → v6
- actions/create-github-app-token: v2.2.1 → v3
- dorny/paths-filter: v3.0.2 (SHA pin) → v4

Note: getsentry/codecov-action@main still uses node20 in its own
action.yml — that needs a separate fix in the codecov-action repo.
@BYK BYK force-pushed the meta/node24-action-upgrades branch from 7587484 to aa62edc Compare March 23, 2026 21:25
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

- uses: actions/checkout@v4
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
- uses: actions/checkout@v6
- uses: dorny/paths-filter@v4
Copy link

Choose a reason for hiding this comment

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

SHA-pinned third-party action replaced with mutable tag

Medium Severity

The dorny/paths-filter reference was previously SHA-pinned (@de90cc6fb38fc0963ad72b210f1f284cd68cea36) to protect against supply chain attacks, but the upgrade switches to a mutable tag (@v4). Unlike the actions/* actions which are first-party GitHub-maintained, dorny/paths-filter is a third-party action where tag references can be moved to point to compromised code. The SHA pin for v4.0.1 (fbd0ab8f3e69293af611ebaee6363fc25e6d187d) could be used to maintain the same supply chain protection.

Fix in Cursor Fix in Web

@BYK BYK merged commit 0d726e3 into main Mar 23, 2026
23 checks passed
@BYK BYK deleted the meta/node24-action-upgrades branch March 23, 2026 21:31
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