chore: upgrade GitHub Actions to fix Node 20 deprecation warnings#2171
chore: upgrade GitHub Actions to fix Node 20 deprecation warnings#2171
Conversation
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
👋 @devin-ai-integration[bot] |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThe PR updates GitHub Actions dependencies across 9 workflow files to use newer major versions. Common updates include: Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Upgrades GitHub Actions across 9 workflow files to Node 24-compatible versions, addressing the Node 20 deprecation deadline (June 2, 2026).
Upgraded actions:
actions/setup-pythonv5v6actions/github-scriptv6/v7v8actions/upload-artifactv4v6actions/cachev4v5docker/setup-qemu-actionv3v4docker/setup-buildx-actionv3v4docker/login-actionv2v4docker/metadata-actionv4v6docker/build-push-actionv3v7Also adds
actions: writepermission tostale.yml(required byactions/stale@v10).Not upgraded (no Node 24 version available):
tokorom/action-slack-incoming-webhook@main— still node16, no newer versionwow-actions/auto-comment@v1— still node16, no v2 existsandymckay/labeler@master— archived repo, no maintained successor at same pathNot affected (Docker/Composite, not Node.js):
repo-sync/pull-request@v2,pypa/gh-action-pypi-publish@release/v1,elementary-data/run-elementary-action@v1.13Review & Testing Checklist for Human
docker/build-push-actionv3→v7: This skips 4 major versions. v7 removed deprecatedDOCKER_BUILD_NO_SUMMARYandDOCKER_BUILD_EXPORT_RETENTION_DAYSenv vars and legacy export-build tool support for build summary. Verifybuild-docker-image.ymlandrelease.ymldon't rely on any removed features. Review the v4, v5, v6, and v7 changelogs for breaking changes.docker/metadata-actionv4→v6: v6 changed how#is handled in list inputs (now preserved inside values). Verify the multi-linetags:input inrelease.ymlstill produces correct Docker tags.actions/upload-artifactv4→v6: Skips v5 which had breaking changes around artifact deduplication and naming. Confirm artifact uploads intest-warehouse.yml,test-github-action.yml, andrelease.ymlstill behave correctly.test-all-warehouses(e.g. on postgres) and thebuild-docker-imageworkflow to verify the upgraded actions work end-to-end.Notes
actions/checkout@v6andactions/setup-python@v6incleanup-stale-schemas.ymlwere already at Node 24 versions — no changes needed.actions/stale@v10was already current, but needed theactions: writepermission to function correctly.Link to Devin session: https://app.devin.ai/sessions/cfef8561ef684ea4bdc30dfd48ed44c6
Requested by: @haritamar
Summary by CodeRabbit