Skip to content

ci: update actions for Node 24#151

Merged
leehack merged 2 commits into
mainfrom
ci/node24-actions-codecov
May 16, 2026
Merged

ci: update actions for Node 24#151
leehack merged 2 commits into
mainfrom
ci/node24-actions-codecov

Conversation

@leehack

@leehack leehack commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Update GitHub-owned JavaScript actions to Node 24-compatible major versions.
  • Update Codecov and native-sync PR creation actions to current major versions.
  • Skip Codecov uploads for Dependabot PRs so dependency-only PRs do not fail when repository secrets are unavailable.
  • Preserve hidden-file behavior for the Pages artifact upload after moving to actions/upload-pages-artifact@v5.

Test Plan

  • go run github.com/rhysd/actionlint/cmd/actionlint@latest -color=false .github/workflows/*.yml
  • git diff --check
  • Verified bumped JS actions use Node 24 metadata: actions/checkout@v6, actions/setup-node@v6, actions/cache@v5, actions/configure-pages@v6, actions/deploy-pages@v5, peter-evans/create-pull-request@v8

Notes

CI / Review Evidence

  • PR CI green on head e8018ce516e15e5e8da055b81d7bec3c086d6b27
  • Verified latest run log no longer contains Node.js 20 actions are deprecated
  • Addressed and resolved Copilot's Codecov condition comment by keying the skip to github.event.pull_request.user.login with a push-event guard

Copilot AI review requested due to automatic review settings May 16, 2026 01:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates GitHub Actions workflow dependencies to Node 24-compatible major versions (primarily GitHub-owned JS actions), refreshes third-party actions, and adjusts CI behavior to avoid failing Dependabot PRs due to missing secrets.

Changes:

  • Bumped GitHub-owned actions to newer major versions across workflows (e.g., actions/checkout, actions/setup-node, actions/cache, Pages actions).
  • Updated third-party actions (codecov/codecov-action, peter-evans/create-pull-request) to current major versions.
  • Added logic to skip Codecov uploads on Dependabot PRs and preserved hidden-file inclusion for Pages artifact uploads.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/sync_native_bindings.yml Updates checkout/cache actions and bumps PR creation action version.
.github/workflows/docs_version_cut.yml Updates checkout and setup-node action versions for the docs version cut workflow.
.github/workflows/docs_pages.yml Updates Pages-related actions and explicitly includes hidden files in the uploaded Pages artifact.
.github/workflows/ci.yml Updates checkout/setup-node and bumps Codecov action; adds Dependabot skip condition for coverage upload.
.github/workflows/chat_app_hf_static_deploy.yml Updates checkout action for chat app deployment workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml Outdated
@codecov-commenter

codecov-commenter commented May 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.50%. Comparing base (1cc8526) to head (e8018ce).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #151   +/-   ##
=======================================
  Coverage   78.50%   78.50%           
=======================================
  Files          76       76           
  Lines        9885     9885           
=======================================
  Hits         7760     7760           
  Misses       2125     2125           
Flag Coverage Δ
unittests 78.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leehack leehack merged commit 8beafc4 into main May 16, 2026
6 checks passed
@leehack leehack deleted the ci/node24-actions-codecov branch May 16, 2026 10:51
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.

3 participants