Skip to content

chore: bump actions/checkout from 6 to 7 - #3131

Merged
max-sixty merged 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-7
Jun 22, 2026
Merged

max-sixty merged 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps actions/checkout from 6 to 7.

Release notes

Sourced from actions/checkout's releases.

v7.0.0

What's Changed

New Contributors

Full Changelog: actions/checkout@v6.0.3...v7.0.0

v6.0.3

What's Changed

New Contributors

Full Changelog: actions/checkout@v6...v6.0.3

v6.0.2

What's Changed

Full Changelog: actions/checkout@v6.0.1...v6.0.2

v6.0.1

What's Changed

Full Changelog: actions/checkout@v6...v6.0.1

Changelog

Sourced from actions/checkout's changelog.

Changelog

v7.0.0

v6.0.3

v6.0.2

v6.0.1

v6.0.0

v5.0.1

v5.0.0

v4.3.1

v4.3.0

v4.2.2

v4.2.1

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 19, 2026

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mechanical bump is complete — every actions/checkout@v6 reference across the workflows is updated. But checkout v7.0.0 ships one behavioral change worth a maintainer's eyes before merge, so flagging rather than approving.

v7's only breaking change (actions/checkout#2454) refuses to check out fork-PR code from pull_request_target and workflow_run workflows. From the v7 source (src/unsafe-pr-checkout-helper.ts), assertSafePrCheckout throws when the event is pull_request_target/workflow_run, the PR head repo differs from the base repo (i.e. a fork), and the resolved ref matches ^refs/pull/[0-9]+/(head|merge)$ (or the commit/repo otherwise points at the fork head). Opt-out is allow-unsafe-pr-checkout: true.

I walked each affected workflow:

  • tend-review.yaml — breaks on fork PRs. It runs on pull_request_target and checks out ref: ${{ steps.pr_ref.outputs.ref }}, which is refs/pull/<n>/merge (or /head). For a PR from a fork, that's exactly the blocked shape → checkout throws Refusing to check out fork pull request code… and the whole review job fails before tend ever runs. Same-repo PRs (Dependabot, internal branches — including this PR) are unaffected because the head repo equals the base repo, so the bump's own CI stays green and the regression only surfaces on the next external contributor's PR.
  • tend-ci-fix.yaml — workflow_run, but checks out ref: main (not a PR ref, not the fork head sha), so the guard returns early. Safe.
  • tend-mention.yaml — triggers are issues/issue_comment/pull_request_review/pull_request_review_comment, none of which are pull_request_target or workflow_run, so the guard doesn't apply. Safe.
  • All other tend workflows (tend-nightly, tend-notifications, tend-review-runs, tend-triage, tend-weekly) are schedule/issues-triggered and check out main. ci.yaml/release.yaml/publish-docs.yaml run on pull_request/push/tags, not the two blocked events. Safe.

So the practical effect: merging this silently disables automated review of fork PRs.

Two things make this a maintainer call rather than something I'd push a fix for:

  1. The fix — adding allow-unsafe-pr-checkout: true to the tend-review checkout — re-enables precisely the "pwn request" exposure v7 added the guard against: that job runs with TEND_BOT_TOKEN, CLAUDE_CODE_OAUTH_TOKEN, and contents: write/pull-requests: write while executing fork-controlled code. Whether that tradeoff is acceptable (vs. restructuring the review to fetch fork code into an unprivileged context) is a security decision, not a mechanical one.
  2. tend-review.yaml carries a "Generated by tend 0.1.6 … will be overwritten on regeneration" header, so the durable fix likely belongs upstream in the tend-ci-runner workflow templates rather than as a hand-edit here.

If worktrunk doesn't currently rely on tend reviewing fork PRs, this is fine to merge as-is and the point is moot.

Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/checkout-7 branch from 926a9d3 to a3080ef Compare June 22, 2026 21:01
@max-sixty
max-sixty merged commit 9e8d461 into main Jun 22, 2026
14 checks passed
@max-sixty
max-sixty deleted the dependabot/github_actions/actions/checkout-7 branch June 22, 2026 21:03
worktrunk-bot added a commit that referenced this pull request Jun 23, 2026
actions/checkout@v7 refuses fork-PR checkout under pull_request_target,
breaking automated review for every fork PR (e.g. #3172 got zero review).
v6 has no guard and matches what the tend 0.1.6 generator emits; the v7
in the committed file was Dependabot drift (#3131). Durable fix is
upstream (max-sixty/tend#723).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants