-
Notifications
You must be signed in to change notification settings - Fork 839
chore(deps): bump actions/checkout from 4 to 5 #876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): bump actions/checkout from 4 to 5 #876
Conversation
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
WalkthroughUpdated GitHub Actions workflows to use actions/checkout@v5 instead of @v4 across PR tests, pre-release build, tagged release, and config verification workflows. No other steps changed. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. ✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the GitHub Actions dependency actions/checkout
from version 4 to version 5 across all workflow files. This is a routine dependency maintenance update that brings the workflows up to the latest version of the checkout action.
- Updates
actions/checkout
from v4 to v5 in all GitHub workflow files - Ensures compatibility with the latest checkout action features and Node.js 24 runtime
- Maintains consistency across all CI/CD workflows
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
.github/workflows/verify-configs.yml | Updates checkout action to v5 for config verification workflow |
.github/workflows/tagged-release.yml | Updates checkout action to v5 for tagged release workflow |
.github/workflows/pre-release-build.yml | Updates checkout action to v5 for pre-release build workflow |
.github/workflows/pr-tests.yml | Updates checkout action to v5 for PR testing workflow |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/tagged-release.yml (1)
19-19
: Release job pushes to master — consider explicit credentials and full history.Since this job commits and pushes, make the intent resilient to future default changes and potential history needs:
- Explicitly set persist-credentials: true (it’s true by default today, but being explicit avoids surprises).
- Consider fetch-depth: 0 if any downstream tooling ever needs tags or full history during release (optional here, but future-proof).
Suggested tweak:
- - uses: actions/checkout@v5 - with: - ref: master + - uses: actions/checkout@v5 + with: + ref: master + persist-credentials: true + fetch-depth: 0Also consider pinning checkout to a commit SHA for supply-chain hardening.
If you want me to, I can prepare a follow-up PR that adds these edits and pins all third-party actions used in release workflows.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (4)
.github/workflows/pr-tests.yml
(1 hunks).github/workflows/pre-release-build.yml
(1 hunks).github/workflows/tagged-release.yml
(1 hunks).github/workflows/verify-configs.yml
(1 hunks)
🔇 Additional comments (3)
.github/workflows/pre-release-build.yml (1)
23-23
: Checkout v5 upgrade verified—no non-v5 references or self-hosted runners foundAll workflows in .github/workflows/ now use actions/checkout@v5, and there are no “runs-on: self-hosted” labels. Your upgrade is safe:
- Node 24 bump in checkout v5 won’t affect your build (you’re still using setup-node@v4 with Node 20).
- GitHub-hosted ubuntu-22.04 runners (v2.327.1+) satisfy the minimum runner version requirement for checkout v5.
Optional hardening:
- Pin actions/checkout@v5 to a specific commit SHA instead of the moving tag for improved supply-chain security. Let me know if you’d like me to grab the latest v5 SHA and draft that patch.
.github/workflows/verify-configs.yml (1)
12-12
: LGTM on the bump to checkout v5.No functional changes beyond the action version; ubuntu-22.04 is compatible with v5. Nothing else to do here.
.github/workflows/pr-tests.yml (1)
18-18
: LGTM — safe upgrade and no impact on build/test steps.Keeping Node 20 for the toolchain via setup-node@v4 is fine; checkout’s internal Node 24 does not affect your project’s Node version.
Bumps actions/checkout from 4 to 5.
Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
08c6903
Prepare v5.0.0 release (#2238)9f26565
Update actions checkout to use node 24 (#2226)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by CodeRabbit