Repository navigation
chore(deps): update actions/checkout action to v7 - #1496
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Needs approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor. ℹ️ Sentinel: informational, author is trusted (allow-listed bot), merge is not blocked. Head
No Review findings from Summary: This update moves the project's automated build, test and release jobs to a newer version of GitHub's standard "download the code" step. I checked it and found nothing wrong with the change. One automated check is failing on this update, but that failure comes from a package conflict in an outside software repository, not from this change.
No findings from: correctness, security, intent-alignment, style, docs-currency. |
There was a problem hiding this comment.
HUMAN DECISION NEEDED - approve merging a major-version upgrade of the code-checkout step used by the build, release and publish automation.
Summary: This automated update moves the tool that downloads this project's code inside its build, test and release automation from version 5 to version 7. I found nothing that breaks: the new version is pinned to the exact official release, and the one job that saves results back to the repository should keep working. The project's own update rules say a major upgrade to these sensitive automation files must be merged by a person, so a maintainer needs to sign off.
What I need from you: Approve and merge it, or close it.
security
- Major
uses:bump on 8 human-merge-path workflows. Some holdcontents: writeand the mergeraptor App secret.renovate.json:79says majors on these files wait for a person. Pin verified:3d3c42e5aac5ba805825da76410c181273ba90b1equals bothactions/checkouttagsv7andv7.0.1. v7 blocks fork-PR checkout underpull_request_target/workflow_run. None of the 8 changed files use those triggers, so they are unaffected. The only users areprow.ymlandrerun-e2e-infra-failures.yml, which this PR does not touch.
Checked, no finding:
- v6 moved persisted credentials into a separate
includeIffile. Push from a git worktree (post-testing-e2e.yml:656checkout;post-testing-e2e.yml:683push) is still covered. The v7.0.1src/git-auth-helper.ts:377-378addsincludeIf.gitdir:<gitDir>/worktrees/*.path. - The tests only check that
uses:is a 40-hex pin, never a specific SHA (tests/test_merge_queue.py:145,tests/test_e2e_workflow_limits.py:19). So no test needs to change. - Eight other workflows (for example
merge-queue.yml:34,image-installer.yml:96) stay on v5. That is expected:renovate.json:79gives human-merge paths their own branch. Their update belongs in a separate PR. - CI at this head:
contractfails at "Check package availability" because of an unrelated libcbor 0.14/0.15 package conflict (job 137793114141). Its Checkout step on v7 succeeded, and so did the unit suite.
No findings from: correctness, intent-alignment, style, docs-currency.
Confidence: 3/5 (needs attention) — 1 medium finding; 1 perspective requires a human decision
-- hive: agent=reviewer backend=claude model=claude-opus-5-5 effort=medium claude=2.1.327
69c0302 to
7c6cb43
Compare
There was a problem hiding this comment.
Decision needed: @castrojo should decide whether to owner-merge the actions/checkout v5 to v7 bump in the eight human-merge-path workflows, including the contents:write job in post-testing-e2e.yml.
Pins are correct and the bump looks safe for the files it touches. Routing to an owner because it changes third-party code in workflows that hold write tokens (needs-owner-merge already applied).
What I verified:
- SHA matches tag.
3d3c42e5aac5ba805825da76410c181273ba90b1isrefs/tags/v7andrefs/tags/v7.0.1on actions/checkout; oldfbc6f399…isv5.1.0. - v7's fork-checkout block does not bite here. v7.0.0 blocks checking out fork PR heads under
pull_request_target/workflow_run. Of the files in this diff, onlyprow.ymlis in that trigger class, and it has no checkout step. - v6 credential change vs. the one writer.
post-testing-e2e.yml(job at ~line 653,contents: write) checks outmainwith persisted creds and later runsgit -C "$RUNNER_TEMP/record" push --force origin HEAD:refs/heads/verificationfrom agit worktree. v6 moved persisted creds to a separate file loaded viaincludeIf; v6.0.1 added worktree support for exactly this. I expect it to work, but that step only runs onmain, so this PR's CI cannot prove it. Worth watching the first post-merge Post-Testing E2E run. - Partial bump is intentional.
merge-queue.yml,image-installer.yml,testing-freshness.yml,package-snapshot.ymland bothrerun-*.ymlstay on v5. They are outside thehuman-merge-paths-group inrenovate.json:80-95, so a separate Renovate branch owns them. Note thatrerun-e2e-infra-failures.ymlandrerun-startup-failures.ymlareworkflow_runworkflows: when their bump arrives, check they do not check out a fork head, or v7 will refuse it. tests/test_merge_queue.py:145only asserts a 40-hex pin form, so a mixed v5/v7 tree passes it.
Confidence: 3/5 (needs attention) — 1 medium finding; 1 perspective requires a human decision
-- hive: agent=reviewer-2 backend=claude model=claude-opus-5-5 effort=medium claude=2.1.327
|
Hive will not merge this PR: it changes path(s) listed in
Hive added the |
|
Ready for a human merge: verdict approved @7c6cb43, 21/21 checks green, soak 30m0s elapsed. Breaking change — owner merges. The hive never merges this lane's changes itself: click Merge to land it. |
This PR contains the following updates:
v5→v7v5.1.0→v7.0.1Release Notes
actions/checkout
v7.0.1Compare Source
v7.0.0Compare Source
v6.1.0Compare Source
What's Changed
allow-unsafe-pr-checkoutto v6 by @aiqiaoy in #2500https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/ for more details about this breaking change
Full Changelog: actions/checkout@v6.0.3...v6.1.0
v6.0.3Compare Source
v6.0.2Compare Source
v6.0.1Compare Source
v6.0.0Compare Source
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 these updates again.
This PR has been generated by Mend Renovate CLI.