Bump GitHub Actions workflow dependencies#12
Bump GitHub Actions workflow dependencies#12warunalakshitha merged 1 commit intoballerina-platform:mainfrom
Conversation
📝 WalkthroughWalkthroughUpdated GitHub Actions versions in two workflow files: Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.github/workflows/deploy.yml (1)
74-74:⚠️ Potential issue | 🟠 MajorUpdate
actions/deploy-pages@v4before Fall 2026 or implement a workaround.
actions/deploy-pages@v4uses Node 20, which is being phased out by GitHub Actions. Node 20 is deprecated as of September 2025 and will be fully removed from runners in Fall 2026. While workflows will continue to emit deprecation warnings until that date, they will fail after Node 20 is removed.No v5 version with Node 24 support has been released yet. To unblock this before Fall 2026:
- Monitor the actions/deploy-pages releases for a v5 update, or
- Use the temporary workaround: set the environment variable
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=trueto opt in to Node 24 runtime with v4.This workflow needs action by Fall 2026.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/deploy.yml at line 74, Update the deploy Pages action usage to avoid future Node 20 removal by either switching to a v5 when available or adding the temporary opt-in runtime env; specifically change the action reference 'uses: actions/deploy-pages@v4' policy by either replacing it with 'actions/deploy-pages@v5' when released or, as a workaround, set the environment variable FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true in the workflow (e.g., under the job or step env) so the v4 action runs on Node 24; also add a short comment referencing monitoring the actions/deploy-pages releases for v5 so the v4 workaround can be removed when v5 is available.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In @.github/workflows/deploy.yml:
- Line 74: Update the deploy Pages action usage to avoid future Node 20 removal
by either switching to a v5 when available or adding the temporary opt-in
runtime env; specifically change the action reference 'uses:
actions/deploy-pages@v4' policy by either replacing it with
'actions/deploy-pages@v5' when released or, as a workaround, set the environment
variable FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true in the workflow (e.g., under
the job or step env) so the v4 action runs on Node 24; also add a short comment
referencing monitoring the actions/deploy-pages releases for v5 so the v4
workaround can be removed when v5 is available.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: fc49bf60-83d4-4b2c-8871-33c090f3ffe4
📒 Files selected for processing (2)
.github/workflows/ci.yml.github/workflows/deploy.yml
Purpose
$subject
Resolves #11
Two actions don't yet have a released version with Node 24 support:
actions/upload-pages-artifact— tracked in Update upload-artifact action to version 7 actions/upload-pages-artifact#139actions/deploy-pages— tracked in Change Node.js version from 20 to 24 actions/deploy-pages#409Changes Overview
This pull request updates GitHub Actions workflow dependencies across the project's CI/CD pipelines to address the deprecation of Node 20 on GitHub Actions runners and enable Node 24 compatibility.
Workflow Updates
Modified Files
.github/workflows/ci.yml.github/workflows/deploy.ymlDependency Updates
actions/checkout: upgraded fromv4tov6actions/setup-go: upgraded fromv5tov6These version upgrades ensure that the workflow actions are compatible with Node 24 while maintaining all existing configuration settings and build parameters.
Known Limitations
Two upstream GitHub Actions currently lack released versions with Node 24 support and remain unchanged pending upstream releases:
actions/upload-pages-artifact(issue tracked at Update upload-artifact action to version 7 actions/upload-pages-artifact#139)actions/deploy-pages(issue tracked at Change Node.js version from 20 to 24 actions/deploy-pages#409)These dependencies will be updated in a follow-up once the upstream projects publish compatible releases.