Skip to content

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

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

chore: bump actions/checkout from 6 to 7#6021
max-sixty merged 1 commit into
mainfrom
dependabot/github_actions/actions/checkout-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 18, 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
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] <support@github.com>
@dependabot dependabot Bot added dependencies github_actions Pull requests that update GitHub Actions code labels Jun 18, 2026

@prql-bot prql-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 bump is mechanical and correct across the workflow files, but actions/checkout@v7.0.0 ships one behavioral change worth a maintainer's call before merging: it now refuses to check out fork-PR code under pull_request_target / workflow_run unless allow-unsafe-pr-checkout: true is set (actions/checkout#2454).

The block fires only when all three hold: the trigger is pull_request_target/workflow_run, the PR head is a fork (different repo id), and the resolved ref matches refs/pull/N/(head|merge). I checked every checkout step in the diff — the only one that hits all three is tend-review.yaml, which checks out refs/pull/$PR/merge. Every other tend workflow uses ref: main (safe), and same-repo PRs like this Dependabot one are unaffected because the head-repo id equals the base-repo id.

Net effect: after this merges, tend-review will keep working on internal/branch PRs but will fail on external contributor (fork) PRs with Refusing to check out fork pull request code from a 'pull_request_target' workflow.

I didn't push a fix because both plausible remedies are maintainer/upstream calls, not a mechanical default:

  • tend-review.yaml is auto-generated by tend (Do not edit this file directly — it will be overwritten on regeneration), so adding allow-unsafe-pr-checkout: true here would be lost on the next tend init. The durable fix belongs upstream in max-sixty/tend.
  • Opting back in re-enables exactly the "pwn request" exposure v7 added the guard for (gh.io/securely-using-pull_request_target) — a security tradeoff worth a deliberate decision.

Everything else in the bump is fine to take as-is.

echo "::notice::refs/pull/$PR/merge unavailable (likely merge conflict); falling back to /head"
fi
- uses: actions/checkout@v6
- uses: actions/checkout@v7

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.

Heads up: under v7, this checkout will throw Refusing to check out fork pull request code from a 'pull_request_target' workflow for fork PRs, because the step resolves ref to refs/pull/N/(head|merge) (see the pr_ref step above) and this job runs on pull_request_target. Internal/branch PRs (same repo id) are unaffected.

To restore fork-PR reviews, the checkout step needs allow-unsafe-pr-checkout: true — but since this file is regenerated by tend, that's best fixed upstream in max-sixty/tend rather than edited here.

@max-sixty
max-sixty merged commit 50cd5eb into main Jun 18, 2026
96 of 112 checks passed
@max-sixty
max-sixty deleted the dependabot/github_actions/actions/checkout-7 branch June 18, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies github_actions Pull requests that update GitHub Actions code

2 participants