Bump actions/checkout from 4.2.2 to 7.0.1 - #116
Merged
stevebeattie merged 3 commits intoSep 28, 2026
Merged
Conversation
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4.2.2...3d3c42e) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
actions/checkout v7 refuses to check out fork pull request code in a pull_request_target workflow unless allow-unsafe-pr-checkout is set, so after the bump the signing test would fail for every approved fork PR. This PR's own CI can't show that: pull_request_target runs use the base branch's workflow, still on checkout v4.2.2. Set allow-unsafe-pr-checkout on the pull_request_target checkout only, with the reasoning next to it: fork PRs already wait for acceptance-tests environment approval before this job runs. Also turn off setup-go's default caching. pull_request_target runs share the default branch's cache scope, so an approved fork PR could otherwise write a Go cache that main and release runs later restore. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The fork-PR test job waits for acceptance-tests environment approval, but checked out refs/pull/N/merge, a moving ref. Commits pushed between the triggering event and a reviewer approving the pending run would be the code that runs under that approval (time-of-check/time-of-use; CodeQL actions/untrusted-checkout-toctou). Check out github.event.pull_request.head.sha instead, the immutable commit of the event being approved, as terraform-provider-chainguard does. The job now tests the PR head rather than its merge with main. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
stevebeattie
enabled auto-merge (squash)
September 28, 2026 21:24
egibs
approved these changes
Sep 28, 2026
stevebeattie
deleted the
dependabot/github_actions/actions/checkout-7.0.1
branch
September 28, 2026 21:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps actions/checkout from 4.2.2 to 7.0.1.
Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
3d3c42eprep v7.0.1 release (#2531)2880268escape values passed to --unset (#2530)12cd223trim only ascii whitespace for branch (#2521)62661c4skip running unsafe pr check if input is default (#2518)e8d4307Bump the minor-actions-dependencies group with 2 updates (#2499)631c942eslint 9 (#2474)4f1f4aeBump actions/upload-artifact from 4 to 7 (#2476)ba09753Bump actions/checkout from 6 to 7 (#2488)b9e0990Bump docker/login-action from 3.3.0 to 4.2.0 (#2479)e8cb398Bump docker/build-push-action from 6.5.0 to 7.2.0 (#2478)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)