Skip to content

ci(workflow-templates): bump checkout to v5 (Node 24)#14

Merged
anna-poz merged 1 commit into
mainfrom
fix/node24-action-upgrades
Jun 9, 2026
Merged

ci(workflow-templates): bump checkout to v5 (Node 24)#14
anna-poz merged 1 commit into
mainfrom
fix/node24-action-upgrades

Conversation

@anna-poz

@anna-poz anna-poz commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

GitHub is deprecating the Node.js 20 runtime for JavaScript actions (forced to Node 24 on 2026-06-16, removed 2026-09-16). actions/checkout@v3 runs on the even-older node16. These org starter workflows are copied into repos via the GitHub "New workflow" UI, so bumping them here stops new repos from inheriting the deprecated pin.

  • workflow-templates/apella-org.yml: actions/checkout@v3 → v5
  • workflow-templates/apella-terraform-format-check.yml: actions/checkout@v3 → v5

dflook/terraform-fmt-check@v1 is a Docker-based action (runs.using: docker), so it is unaffected by the Node deprecation and left unchanged.

Context

This starter workflow is the likely origin of checkout@v3 appearing in 39 repos across the org. Existing repos still need their own bumps (tracked separately).

🤖 Generated with Claude Code

GitHub is deprecating the Node.js 20 runtime for JavaScript actions
(forced to Node 24 on 2026-06-16, removed 2026-09-16). actions/checkout@v3
runs on the even-older node16. These org starter workflows are copied into
repos via the "New workflow" UI, so bump them at the source:

- actions/checkout  v3 -> v5

(dflook/terraform-fmt-check is a Docker action, unaffected.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@anna-poz anna-poz requested a review from twonds June 5, 2026 21:25
@coderabbitai

coderabbitai Bot commented Jun 5, 2026

Copy link
Copy Markdown

Complex PR? Review this PR in Change Stack to move by importance, not file order.

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates the GitHub Actions checkout action from v3 to v5 in two workflow template files: apella-org.yml and apella-terraform-format-check.yml. Both changes upgrade the uses directive in their respective checkout steps to reference the newer version, with the remainder of each workflow configuration remaining unchanged.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: updating GitHub Actions checkout action from v3 to v5 in workflow templates, with the practical context of Node 24 compatibility.
Description check ✅ Passed The description provides a comprehensive summary of changes, explains the rationale (Node.js deprecation), lists specific files modified, and notes unaffected components. All critical information is present and well-structured.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/node24-action-upgrades

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@workflow-templates/apella-org.yml`:
- Line 14: The workflow upgrades actions/checkout to actions/checkout@v5 which
requires Node.js 24 and GitHub Actions runner >= 2.327.1; either revert to
actions/checkout@v3 or ensure all runners (especially self-hosted) are upgraded
to runner version 2.327.1+ and support Node 24 before merging. Locate the
actions/checkout@v5 entry in the workflow template and: if you cannot guarantee
runner upgrades, change it back to actions/checkout@v3; if you will upgrade
runners, add a comment or a check step documenting the required runner version
and update your runner provisioning/maintenance scripts to enforce 2.327.1+.
Ensure any CI admin docs or onboarding notes are updated to reflect the new
runner requirement.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0d84268e-3a15-40da-9a67-3336916355d1

📥 Commits

Reviewing files that changed from the base of the PR and between eff4cd9 and 688162d.

📒 Files selected for processing (2)
  • workflow-templates/apella-org.yml
  • workflow-templates/apella-terraform-format-check.yml


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

What version of Node.js does actions/checkout@v5 use and are there breaking changes from v3 to v5?

💡 Result:

The actions/checkout@v5 action uses Node.js 24 [1][2]. Regarding breaking changes between v3 and v5: The primary technical change introduced in v5 is the upgrade of the underlying Node.js runtime to version 24 [1][3]. Because this is a major version release, it includes a stricter requirement for the Actions Runner version [1][4]. To use actions/checkout@v5, your GitHub Actions runner must be updated to version 2.327.1 or newer [1][4]. While the core functionality of the action remains consistent for most standard repository checkout use cases, users should ensure their runner environments meet this minimum version requirement to avoid execution failures [1][5]. As is standard with major version bumps in GitHub Actions, it is recommended to review your workflow logs after updating to ensure compatibility with your specific runner infrastructure [5].

Citations:


Ensure actions/checkout@v5 is compatible with the target runners
workflow-templates/apella-org.yml upgrades actions/checkout from v3 to v5; v5 runs on Node.js 24 and requires the GitHub Actions runner to be updated to version 2.327.1+—verify this across any self-hosted runners using this template.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@workflow-templates/apella-org.yml` at line 14, The workflow upgrades
actions/checkout to actions/checkout@v5 which requires Node.js 24 and GitHub
Actions runner >= 2.327.1; either revert to actions/checkout@v3 or ensure all
runners (especially self-hosted) are upgraded to runner version 2.327.1+ and
support Node 24 before merging. Locate the actions/checkout@v5 entry in the
workflow template and: if you cannot guarantee runner upgrades, change it back
to actions/checkout@v3; if you will upgrade runners, add a comment or a check
step documenting the required runner version and update your runner
provisioning/maintenance scripts to enforce 2.327.1+. Ensure any CI admin docs
or onboarding notes are updated to reflect the new runner requirement.

@anna-poz anna-poz merged commit 8265a05 into main Jun 9, 2026
@anna-poz anna-poz deleted the fix/node24-action-upgrades branch June 9, 2026 17:30
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.

2 participants