chore(deps): update actions/checkout action to v7 #79
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/actions-checkout-7.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v4→v7Release Notes
actions/checkout (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: https://github.com/actions/checkout/compare/v6.0.3...v6.1.0
v6.0.3Compare Source
v6.0.2Compare Source
v6.0.1Compare Source
v6.0.0Compare Source
v5.1.0Compare Source
What's Changed
allow-unsafe-pr-checkoutto v5 by @aiqiaoy in #2501https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/ for more details about this breaking change
Full Changelog: https://github.com/actions/checkout/compare/v5.0.1...v5.1.0
v5.0.1Compare Source
v5.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 this update again.
This PR has been generated by Mend Renovate CLI.
🔎 ojo scan results
No findings.
Codecov Results 📊
✅ Patch coverage is 100.00%. Project has 5549 uncovered lines.
Generated by Codecov Action
Updates
actions/checkoutv4→v7(floating major tag; latest release in range isv7.0.1)Only workflow files change.
go.mod,go.sum,web/package*.jsonand the Dockerfiles are untouched, so no transitive dependencies move. The 7uses:lines are in.forgejo/workflows/claude-review.yml:22,security-scan.yml:19andtest.yml:21,44,69,85..forgejo/workflows/build.yml:22isn't in the diff because it was already onactions/checkout@v7onmain.Changelog
Source: the release notes in the PR description, checked against the upstream CHANGELOG.md. The entries match. I couldn't open the linked GitHub blog post because the fetch was not permitted, so I haven't checked what it says about
allow-unsafe-pr-checkout.Breaking and behaviour changes
using: node24) instead of Node 20 (#2226). The runner must support Node 24.persist-credentialsis true (the default), the token now goes in a separate file that.git/configpulls in withincludeIf. Before, it was written straight into.git/config(#2286). v6.0.1 adds worktree support for this (#2327).pull_request_targetandworkflow_run(#2454). The v5.1.0 and v6.1.0 backports are marked [BREAKING] and add theallow-unsafe-pr-checkoutopt-out (#2500, #2501).fetch-tagsis honoured (#2356).Security hardening. No CVE or GHSA ids are listed for anything in this range.
git config --unsetare now escaped (#2530), and only ASCII whitespace is trimmed from branch names (#2521).Fixes
Transitive updates: none.
Concerns
Fork-PR block (v7.0.0): not affected. No workflow uses
pull_request_targetorworkflow_run.claude-review.yml:3-5,test.yml:3-6andsecurity-scan.yml:3-6trigger onpull_request/push, andbuild.yml:3-6onworkflow_dispatch/schedule.claude-review.yml:14also already skips fork PRs.Node 24 runtime (v5.0.0): no problem on PR jobs. Every job that uses checkout on
pull_requestsucceeded (see the checks below), so the Forgejo runner can runnode24actions.Credential storage change (v6.0.0): needs a check after merge. Three steps rely on the persisted token to
git push, and they only run onpushtomainor on a schedule. This PR's checks don't exercise any of them:test.yml:68-73, which is then pushed byscripts/publish-coverage-wiki.sh:58.coverage-badgejob (test.yml:78-95, withamend: true). It was skipped on this PR.build.yml:51. That file was already on v7, but I couldn't see whether a run since then succeeded.Two of those steps use
continue-on-error: true(test.yml:73,76). If the newincludeIffile isn't picked up, the wiki publish would fail without failing the job.persist-credentials: falsein claude-review: still respected. It is set atclaude-review.yml:26, and the v6 change only affects how credentials are stored when they are persisted.Tag pinning:
actions/checkout@v7is a mutable tag. The other third-party actions are pinned to a commit SHA (test.yml:30,62,90). Checkout was on a mutable tag before this PR too, so this is unchanged risk. Pinningv7.0.1by SHA would match the repo's practice for other actions.Licence, Go/Node minimums for the app, lockfile churn: none; the app's dependencies aren't touched.
Untrusted content: I found nothing in the PR text, diff or comments that tries to steer the review.
Checks (
checks.json): passed:test / go,test / web,security-scan / security-scan,codecov/patch(100.00% ≥ 80%) andcodecov/project(54.97%, no base report). Skipped:test / coverage-badge(runs on push only).Comments: the ojo scan reports "No findings". Codecov reports 100.00% patch coverage, which is not meaningful here since no code changed. Neither raises anything about this update.
Summary
This moves
actions/checkoutfrom v4 to v7 across all workflows. It brings the Node 24 runtime, storing persisted credentials in a separate file, blocking fork-PR checkouts underpull_request_target/workflow_run, and small hardening fixes. Balam doesn't use the affected triggers, and every PR job that ran with v7 passed.Merge after manual check: after the first push to
main, confirm thewebjob's coverage wiki publish (scripts/publish-coverage-wiki.shpush) and thecoverage-badgejob still push successfully with v6+'sincludeIfcredential file. Look at the log rather than the job status, because the wiki publish steps usecontinue-on-error.Claude dependency-update review of
ffb3c6e053· claude-opus-5-5View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.