chore(deps): update actions/checkout action to v7 #79

Open
james wants to merge 1 commit from renovate/actions-checkout-7.x into main
Owner

This PR contains the following updates:

Package Type Update Change
actions/checkout action major v4 → v7

Release Notes

actions/checkout (actions/checkout)

v7.0.1

Compare Source

v7.0.0

Compare Source

  • Block checking out fork PR for pull_request_target and workflow_run by @​aiqiaoy in #​2454
  • Various dependency updates

v6.1.0

Compare Source

What's Changed

https://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.3

Compare Source

v6.0.2

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

v5.1.0

Compare Source

What's Changed

https://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.1

Compare Source

v5.0.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://github.com/actions/checkout) | action | major | `v4` → `v7` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v7.0.1`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v701) [Compare Source](https://github.com/actions/checkout/compare/v7...v7.0.1) - Skip running unsafe pr check if input is default by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2518](https://github.com/actions/checkout/pull/2518) - Trim only ascii whitespace for branch by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2521](https://github.com/actions/checkout/pull/2521) - Escape values passed to --unset by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2530](https://github.com/actions/checkout/pull/2530) - Various dependency updates ### [`v7.0.0`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700) [Compare Source](https://github.com/actions/checkout/compare/v6.1.0...v7) - Block checking out fork PR for pull_request_target and workflow_run by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2454](https://github.com/actions/checkout/pull/2454) - Various dependency updates ### [`v6.1.0`](https://github.com/actions/checkout/releases/tag/v6.1.0) [Compare Source](https://github.com/actions/checkout/compare/v6.0.3...v6.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v6 by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2500](https://github.com/actions/checkout/pull/2500) - backport fixes to releases-v6 by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2527](https://github.com/actions/checkout/pull/2527) <https://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.3`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603) [Compare Source](https://github.com/actions/checkout/compare/v6.0.2...v6.0.3) - Fix checkout init for SHA-256 repositories by [@&#8203;yaananth](https://github.com/yaananth) in [#&#8203;2439](https://github.com/actions/checkout/pull/2439) - fix: expand merge commit SHA regex and add SHA-256 test cases by [@&#8203;yaananth](https://github.com/yaananth) in [#&#8203;2414](https://github.com/actions/checkout/pull/2414) ### [`v6.0.2`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602) [Compare Source](https://github.com/actions/checkout/compare/v6.0.1...v6.0.2) - Fix tag handling: preserve annotations and explicit fetch-tags by [@&#8203;ericsciple](https://github.com/ericsciple) in [#&#8203;2356](https://github.com/actions/checkout/pull/2356) ### [`v6.0.1`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v601) [Compare Source](https://github.com/actions/checkout/compare/v6...v6.0.1) - Add worktree support for persist-credentials includeIf by [@&#8203;ericsciple](https://github.com/ericsciple) in [#&#8203;2327](https://github.com/actions/checkout/pull/2327) ### [`v6.0.0`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600) [Compare Source](https://github.com/actions/checkout/compare/v5.1.0...v6) - Persist creds to a separate file by [@&#8203;ericsciple](https://github.com/ericsciple) in [#&#8203;2286](https://github.com/actions/checkout/pull/2286) - Update README to include Node.js 24 support details and requirements by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;2248](https://github.com/actions/checkout/pull/2248) ### [`v5.1.0`](https://github.com/actions/checkout/releases/tag/v5.1.0) [Compare Source](https://github.com/actions/checkout/compare/v5.0.1...v5.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v5 by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2501](https://github.com/actions/checkout/pull/2501) - backport fixes to releases-v5 by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2523](https://github.com/actions/checkout/pull/2523) <https://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.1`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501) [Compare Source](https://github.com/actions/checkout/compare/v5...v5.0.1) - Port v6 cleanup to v5 by [@&#8203;ericsciple](https://github.com/ericsciple) in [#&#8203;2301](https://github.com/actions/checkout/pull/2301) ### [`v5.0.0`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v500) [Compare Source](https://github.com/actions/checkout/compare/v4.4.0...v5) - Update actions checkout to use node 24 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;2226](https://github.com/actions/checkout/pull/2226) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chore(deps): update actions/checkout action to v7
All checks were successful
security-scan / security-scan (pull_request) Successful in 33s
test / web (pull_request) Successful in 1m29s
test / coverage-badge (pull_request) Has been skipped
codecov/project 54.97% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 3m10s
claude-review / review (pull_request) Successful in 5m19s
ffb3c6e053

🔎 ojo scan results

No findings.

<!-- ojo-scan-summary --> ### 🔎 ojo scan results No findings.

Codecov Results 📊

✅ Patch coverage is 100.00%. Project has 5549 uncovered lines.


Generated by Codecov Action

<!-- codecov-action-results --> ## Codecov Results 📊 :white_check_mark: Patch coverage is **100.00%**. Project has **5549** uncovered lines. --- *Generated by [Codecov Action](https://github.com/getsentry/codecov-action)*

Updates

Name Ecosystem Old → New Direct / transitive Bump
actions/checkout Forgejo/GitHub action v4 → v7 (floating major tag; latest release in range is v7.0.1) Direct major (spans v5, v6 and v7)

Only workflow files change. go.mod, go.sum, web/package*.json and the Dockerfiles are untouched, so no transitive dependencies move. The 7 uses: lines are in .forgejo/workflows/claude-review.yml:22, security-scan.yml:19 and test.yml:21,44,69,85. .forgejo/workflows/build.yml:22 isn't in the diff because it was already on actions/checkout@v7 on main.

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

  • v5.0.0: the action now runs on Node 24 (using: node24) instead of Node 20 (#2226). The runner must support Node 24.
  • v6.0.0: when persist-credentials is true (the default), the token now goes in a separate file that .git/config pulls in with includeIf. Before, it was written straight into .git/config (#2286). v6.0.1 adds worktree support for this (#2327).
  • v7.0.0: checking out fork PR code is blocked under pull_request_target and workflow_run (#2454). The v5.1.0 and v6.1.0 backports are marked [BREAKING] and add the allow-unsafe-pr-checkout opt-out (#2500, #2501).
  • v6.0.2: tag handling changed. Annotated tags are kept and an explicit fetch-tags is honoured (#2356).

Security hardening. No CVE or GHSA ids are listed for anything in this range.

  • v7.0.1: values passed to git config --unset are now escaped (#2530), and only ASCII whitespace is trimmed from branch names (#2521).
  • The fork-PR block in v7.0.0 above.

Fixes

  • v7.0.1: the unsafe-PR check is skipped when the input is left at its default (#2518).
  • v6.0.3: fixes for SHA-256 repositories (#2439, #2414).
  • v5.0.1: v6 cleanup ported to v5 (#2301).
  • Various dependency updates in v7.0.0 and v7.0.1.

Transitive updates: none.

Concerns

  • Fork-PR block (v7.0.0): not affected. No workflow uses pull_request_target or workflow_run. claude-review.yml:3-5, test.yml:3-6 and security-scan.yml:3-6 trigger on pull_request/push, and build.yml:3-6 on workflow_dispatch/schedule. claude-review.yml:14 also already skips fork PRs.

  • Node 24 runtime (v5.0.0): no problem on PR jobs. Every job that uses checkout on pull_request succeeded (see the checks below), so the Forgejo runner can run node24 actions.

  • 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 on push to main or on a schedule. This PR's checks don't exercise any of them:

    • The wiki checkout at test.yml:68-73, which is then pushed by scripts/publish-coverage-wiki.sh:58.
    • The coverage-badge job (test.yml:78-95, with amend: true). It was skipped on this PR.
    • Tag pushes in 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 new includeIf file isn't picked up, the wiki publish would fail without failing the job.

  • persist-credentials: false in claude-review: still respected. It is set at claude-review.yml:26, and the v6 change only affects how credentials are stored when they are persisted.

  • Tag pinning: actions/checkout@v7 is 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. Pinning v7.0.1 by 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%) and codecov/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/checkout from v4 to v7 across all workflows. It brings the Node 24 runtime, storing persisted credentials in a separate file, blocking fork-PR checkouts under pull_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 the web job's coverage wiki publish (scripts/publish-coverage-wiki.sh push) and the coverage-badge job still push successfully with v6+'s includeIf credential file. Look at the log rather than the job status, because the wiki publish steps use continue-on-error.


Claude dependency-update review of ffb3c6e053 · claude-opus-5-5

<!-- claude-pr-review --> ### Updates | Name | Ecosystem | Old → New | Direct / transitive | Bump | |---|---|---|---|---| | `actions/checkout` | Forgejo/GitHub action | `v4` → `v7` (floating major tag; latest release in range is `v7.0.1`) | Direct | major (spans v5, v6 and v7) | Only workflow files change. `go.mod`, `go.sum`, `web/package*.json` and the Dockerfiles are untouched, so no transitive dependencies move. The 7 `uses:` lines are in `.forgejo/workflows/claude-review.yml:22`, `security-scan.yml:19` and `test.yml:21,44,69,85`. `.forgejo/workflows/build.yml:22` isn't in the diff because it was already on `actions/checkout@v7` on `main`. ### Changelog Source: the release notes in the PR description, checked against the upstream [CHANGELOG.md](https://github.com/actions/checkout/blob/main/CHANGELOG.md). The entries match. I couldn't open the linked [GitHub blog post](https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/) because the fetch was not permitted, so I haven't checked what it says about `allow-unsafe-pr-checkout`. **Breaking and behaviour changes** - **v5.0.0**: the action now runs on **Node 24** (`using: node24`) instead of Node 20 (#2226). The runner must support Node 24. - **v6.0.0**: when `persist-credentials` is true (the default), the token now goes in a **separate file** that `.git/config` pulls in with `includeIf`. Before, it was written straight into `.git/config` (#2286). v6.0.1 adds worktree support for this (#2327). - **v7.0.0**: checking out fork PR code is **blocked** under `pull_request_target` and `workflow_run` (#2454). The v5.1.0 and v6.1.0 backports are marked **[BREAKING]** and add the `allow-unsafe-pr-checkout` opt-out (#2500, #2501). - **v6.0.2**: tag handling changed. Annotated tags are kept and an explicit `fetch-tags` is honoured (#2356). **Security hardening.** No CVE or GHSA ids are listed for anything in this range. - v7.0.1: values passed to `git config --unset` are now escaped (#2530), and only ASCII whitespace is trimmed from branch names (#2521). - The fork-PR block in v7.0.0 above. **Fixes** - v7.0.1: the unsafe-PR check is skipped when the input is left at its default (#2518). - v6.0.3: fixes for SHA-256 repositories (#2439, #2414). - v5.0.1: v6 cleanup ported to v5 (#2301). - Various dependency updates in v7.0.0 and v7.0.1. **Transitive updates:** none. ### Concerns - **Fork-PR block (v7.0.0): not affected.** No workflow uses `pull_request_target` or `workflow_run`. `claude-review.yml:3-5`, `test.yml:3-6` and `security-scan.yml:3-6` trigger on `pull_request`/`push`, and `build.yml:3-6` on `workflow_dispatch`/`schedule`. `claude-review.yml:14` also already skips fork PRs. - **Node 24 runtime (v5.0.0): no problem on PR jobs.** Every job that uses checkout on `pull_request` succeeded (see the checks below), so the Forgejo runner can run `node24` actions. - **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 on `push` to `main` or on a schedule. This PR's checks don't exercise any of them: - The wiki checkout at `test.yml:68-73`, which is then pushed by `scripts/publish-coverage-wiki.sh:58`. - The `coverage-badge` job (`test.yml:78-95`, with `amend: true`). It was **skipped** on this PR. - Tag pushes in `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 new `includeIf` file isn't picked up, the wiki publish would fail without failing the job. - **`persist-credentials: false` in claude-review: still respected.** It is set at `claude-review.yml:26`, and the v6 change only affects how credentials are stored when they *are* persisted. - **Tag pinning:** `actions/checkout@v7` is 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. Pinning `v7.0.1` by 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%) and `codecov/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/checkout` from v4 to v7 across all workflows. It brings the Node 24 runtime, storing persisted credentials in a separate file, blocking fork-PR checkouts under `pull_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 the `web` job's coverage wiki publish (`scripts/publish-coverage-wiki.sh` push) and the `coverage-badge` job still push successfully with v6+'s `includeIf` credential file. Look at the log rather than the job status, because the wiki publish steps use `continue-on-error`. --- _Claude dependency-update review of ffb3c6e053 · claude-opus-5-5_
All checks were successful
security-scan / security-scan (pull_request) Successful in 33s
test / web (pull_request) Successful in 1m29s
test / coverage-badge (pull_request) Has been skipped
codecov/project 54.97% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 3m10s
claude-review / review (pull_request) Successful in 5m19s
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/actions-checkout-7.x:renovate/actions-checkout-7.x
git switch renovate/actions-checkout-7.x
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ColibriSec/balam!79
No description provided.