Dev 651 nodejs 20 actions are deprecated#220
Conversation
…v6 in workflow files
📝 WalkthroughWalkthroughGitHub Actions workflow version upgrades across two CI/CD configuration files. The Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/docker.yaml:
- Line 39: The workflow upgrade to docker/build-push-action@v7 introduces
breaking changes: ensure the GitHub Actions runner meets v2.327.1+ (Node 24)
before switching the uses line referencing docker/build-push-action@v7, replace
any removed env vars DOCKER_BUILD_NO_SUMMARY and
DOCKER_BUILD_EXPORT_RETENTION_DAYS with the v7 equivalents such as
DOCKER_BUILD_SUMMARY=false and the new export/retention settings, verify build
summary/export behavior (legacy export-build → buildx history export) so
downstream consumers still work, and review any custom integrations relying on
`@actions/core` or `@docker/actions-toolkit` for API/behavior changes and update
them accordingly.
In @.github/workflows/tests.yaml:
- Line 8: The actions/checkout@v5 step requires GitHub Actions runner v2.327.1+
and Node.js 24; update the workflow to ensure a compatible runner by setting a
modern runner image (e.g., runs-on: ubuntu-22.04 or windows-2022) and/or add a
guard that checks the runner version (using the github.runner.version context)
before invoking uses: actions/checkout@v5 so the job skips or fails fast on
older runners; locate the uses: actions/checkout@v5 occurrence in the workflow
and apply the change there (and mirror the same change for the other occurrences
referenced).
- Line 33: The workflow currently pins the step to actions/upload-artifact@v7
(the string "actions/upload-artifact@v7"); either revert/pin this action to a
v3-compatible tag (e.g., actions/upload-artifact@v3) to avoid Node 24/runner
requirements, or ensure all self-hosted runners are upgraded to Actions Runner
≥2.327.1 and validate ESM/optional 'archive' input usage; update every
occurrence of "actions/upload-artifact@v7" (also mentioned around the second
occurrence) accordingly so the workflow runs on your environment.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: bf9c38ec-dd29-42cf-9074-248c74e8f256
📒 Files selected for processing (2)
.github/workflows/docker.yaml.github/workflows/tests.yaml
Overview
Required checks
Mark all tasks that were completed with a checkmark. Unrelated tasks can be left unchecked.
Required checks before asking for human review:
mainFurther required checks after all other major items in this list are completed:
Summary by CodeRabbit