ci: update actions for Node 24#151
Conversation
There was a problem hiding this comment.
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.
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
actions/upload-pages-artifact@v5.Test Plan
go run github.com/rhysd/actionlint/cmd/actionlint@latest -color=false .github/workflows/*.ymlgit diff --checkactions/checkout@v6,actions/setup-node@v6,actions/cache@v5,actions/configure-pages@v6,actions/deploy-pages@v5,peter-evans/create-pull-request@v8Notes
CI / Review Evidence
e8018ce516e15e5e8da055b81d7bec3c086d6b27Node.js 20 actions are deprecatedgithub.event.pull_request.user.loginwith a push-event guard