chore(deps): update actions/checkout action to v6#329
chore(deps): update actions/checkout action to v6#329renovate[bot] wants to merge 1 commit intomainfrom
Conversation
bfee7ab to
713f03d
Compare
713f03d to
952bb61
Compare
952bb61 to
b865c50
Compare
b865c50 to
c65873d
Compare
c65873d to
5a8cddb
Compare
5a8cddb to
318ec27
Compare
318ec27 to
3abc05d
Compare
📝 WalkthroughWalkthroughTwo GitHub Actions workflows are updated to use Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 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 docstrings
🧪 Generate unit tests (beta)
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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/build.yml:
- Line 17: Upgrade to actions/checkout@v6 may break scripts that expect
credentials in .git/config and requires runner v2.329.0+ for Docker container
actions that perform authenticated git; audit the workflow referencing
actions/checkout@v6 and ensure no downstream steps read credentials from
.git/config (update them to use runner-provided credential files or use the
checkout input that preserves credentials if supported), and confirm your
runners are v2.329.0 or newer (or pin back to actions/checkout@v5) if you cannot
upgrade runners or container actions that run authenticated git.
🪄 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: defaults
Review profile: CHILL
Plan: Pro
Run ID: 03ed933e-25f2-45db-aa63-703c4d6422a8
📒 Files selected for processing (2)
.github/workflows/build-docker.yml.github/workflows/build.yml
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - uses: actions/checkout@v6 |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
actions/checkout v6 release notes breaking changes migration guide
💡 Result:
actions/checkout v6 — release notes / breaking changes / migration
Release notes (v6.0.0)
GitHub release v6.0.0 lists these main changes: README updates (incl. Node.js runtime notes), and a credentials persistence change (“persist creds to a separate file”). [1]
Breaking / behavior-changing items in v6
persist-credentialsstorage location changed: credentials are no longer written into the repo’s.git/config; they’re stored in a separate config file under$RUNNER_TEMP(using GitincludeIf), primarily to improve credential security. This can break workflows/scripts that read or expect the token to appear in.git/config. [2][3]- Runner requirement (Docker container actions + authenticated git): if you run authenticated
gitcommands from a Docker container action, you need GitHub Actions Runner v2.329.0+ for the persisted credentials to be accessible. [2] - (Related background) Node.js runtime requirements: the repo README notes prior major versions moved runtimes (e.g., v5 →
node24requiring Runner v2.327.1+). If you’re upgrading from older runners/self-hosted environments, validate your runner is current. [2]
Migration guide (what to do)
- Bump the major version in workflows:
[2]
- uses: actions/checkout@v6
- If you use Docker container actions and rely on checkout auth inside the container, upgrade your runner to v2.329.0 or later. [2]
- If you had custom logic that inspects
.git/configfor credentials, update it (credentials are now included from a separate file; the implementation uses Git’s include mechanism). [3]
Sources: [1] actions/checkout v6.0.0 release entry, [2] actions/checkout README (“Checkout v6 / What’s new”), [3] PR #2286 (credential persistence refactor).
Review actions/checkout v6 breaking changes and verify runner compatibility.
Upgrading to v6 introduces breaking changes from v5:
- Credentials are no longer persisted to
.git/configbut stored in a separate file (under$RUNNER_TEMP). If your workflow or scripts read credentials from.git/config, this will break. - Docker container actions using authenticated
gitcommands require GitHub Actions Runner v2.329.0 or later for credential access. - Node.js runtime has been updated; ensure your runners are current (v2.327.1+).
For this simple checkout usage (no parameters), verify that:
- No downstream steps expect credentials in
.git/config - If using Docker container actions with
gitoperations, your runners meet v2.329.0+ requirement - Your runner environment is up to date
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.github/workflows/build.yml at line 17, Upgrade to actions/checkout@v6 may
break scripts that expect credentials in .git/config and requires runner
v2.329.0+ for Docker container actions that perform authenticated git; audit the
workflow referencing actions/checkout@v6 and ensure no downstream steps read
credentials from .git/config (update them to use runner-provided credential
files or use the checkout input that preserves credentials if supported), and
confirm your runners are v2.329.0 or newer (or pin back to actions/checkout@v5)
if you cannot upgrade runners or container actions that run authenticated git.
3abc05d to
c3a02af
Compare
c3a02af to
56b0e0f
Compare
This PR contains the following updates:
v5→v6Release Notes
actions/checkout (actions/checkout)
v6.0.2Compare Source
v6.0.1Compare Source
v6-betaCompare Source
What's Changed
Updated persist-credentials to store the credentials under
$RUNNER_TEMPinstead of directly in the local git config.This requires a minimum Actions Runner version of v2.329.0 to access the persisted credentials for Docker container action scenarios.
v6.0.0Compare Source
v6Compare Source
v5.0.1Compare Source
What's Changed
Full Changelog: actions/checkout@v5...v5.0.1
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.