Skip to content

Upgrade actions/checkout to v6 across all GitHub workflows#2168

Merged
elazarlachkar merged 1 commit intomasterfrom
devin/CORE-529-1774286080
Mar 23, 2026
Merged

Upgrade actions/checkout to v6 across all GitHub workflows#2168
elazarlachkar merged 1 commit intomasterfrom
devin/CORE-529-1774286080

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot commented Mar 23, 2026

Summary

Upgrades actions/checkout to v6 in all GitHub workflow files to resolve the Node.js 20 deprecation warning:

Node.js 20 actions are deprecated. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026.

actions/checkout@v6 runs on Node.js 24. Updated 14 usages across 8 workflow files:

Workflow Usages Previous version
release.yml 4 v4
test-warehouse.yml 2 v4
test-github-action.yml 2 v4
bump-version.yml 2 v4
build-docker-image.yml 1 v4
cleanup-stale-schemas.yml 1 v4
run-precommit.yml 1 v4
update_pylon_issue.yml 1 v2

The only breaking change in v6 (changelog) is that credentials are now persisted to a separate file instead of the main .gitconfig. This should be transparent for all workflows here.

Review & Testing Checklist for Human

  • Verify bump-version.yml still works — it does git push after checkout, which relies on persisted credentials. The v6 credential storage change (separate file) should be compatible, but worth confirming on next version bump.
  • Confirm the run-precommit CI job passes on this PR (it's the only workflow triggered by pull_request)

Notes

  • update_pylon_issue.yml was still on v2 — jumped directly to v6.
  • Most workflows (release, test-warehouse, bump-version, etc.) are only triggered manually or by tags/schedules, so they won't be exercised by this PR's CI.

Resolves CORE-529

Link to Devin session: https://app.devin.ai/sessions/9dfddb668bfd458498b56306dd4e0026
Requested by: @elazarlachkar

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions workflows to use the latest version of the checkout action, improving workflow reliability and compatibility.

Addresses the Node.js 20 deprecation warning by upgrading to
actions/checkout@v6 which runs on Node.js 24.

Updated workflows:
- release.yml (4 usages)
- test-warehouse.yml (2 usages)
- test-github-action.yml (2 usages)
- bump-version.yml (2 usages)
- build-docker-image.yml (1 usage)
- cleanup-stale-schemas.yml (1 usage)
- run-precommit.yml (1 usage)
- update_pylon_issue.yml (1 usage, was v2)

Co-Authored-By: Elazar Lachkar <elazar098@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@linear
Copy link
Copy Markdown

linear bot commented Mar 23, 2026

@github-actions
Copy link
Copy Markdown
Contributor

👋 @devin-ai-integration[bot]
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1c81a40f-3558-4249-bea4-aa805d387d59

📥 Commits

Reviewing files that changed from the base of the PR and between a91d876 and c7f611f.

📒 Files selected for processing (8)
  • .github/workflows/build-docker-image.yml
  • .github/workflows/bump-version.yml
  • .github/workflows/cleanup-stale-schemas.yml
  • .github/workflows/release.yml
  • .github/workflows/run-precommit.yml
  • .github/workflows/test-github-action.yml
  • .github/workflows/test-warehouse.yml
  • .github/workflows/update_pylon_issue.yml

📝 Walkthrough

Walkthrough

Eight GitHub Actions workflow files were updated to use actions/checkout@v6 instead of earlier versions (v4 or v2). The checkout action version was bumped across all repository checkout steps while preserving existing configuration values and control flow.

Changes

Cohort / File(s) Summary
GitHub Actions Checkout Version Updates
.github/workflows/build-docker-image.yml, .github/workflows/bump-version.yml, .github/workflows/cleanup-stale-schemas.yml, .github/workflows/release.yml, .github/workflows/run-precommit.yml, .github/workflows/test-github-action.yml, .github/workflows/test-warehouse.yml, .github/workflows/update_pylon_issue.yml
Updated actions/checkout dependency from v4 (or v2) to v6 across multiple workflow files and steps. Repository refs, paths, and surrounding step logic remain unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 With whiskers twitched and nose held high,
We hopped through workflows reaching the sky,
Version bumps so simple and clean,
v6 checkouts everywhere we've seen!
Our actions now fresh, our dependencies spry,

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title directly and accurately summarizes the main change: upgrading the actions/checkout GitHub Action from v4 (and v2) to v6 across all workflow files. The title is concise, clear, and specific enough for team context.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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 devin/CORE-529-1774286080

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

@elazarlachkar elazarlachkar merged commit 89a6dac into master Mar 23, 2026
25 checks passed
@elazarlachkar elazarlachkar deleted the devin/CORE-529-1774286080 branch March 23, 2026 18:01
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