Bump the github-actions group across 1 directory with 6 updates - #3234
Bump the github-actions group across 1 directory with 6 updates#3234dependabot[bot] wants to merge 1 commit into
Conversation
Bumps the github-actions group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `6.0.3` | `7.0.1` | | [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) | `1.0.148` | `1.0.177` | | [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `8.2.0` | `8.3.2` | | [actions/setup-node](https://github.com/actions/setup-node) | `6.4.0` | `7.0.0` | | [actions/github-script](https://github.com/actions/github-script) | `8.0.0` | `9.0.0` | | [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) | `0.5.6` | `0.6.0` | Updates `actions/checkout` from 6.0.3 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@df4cb1c...3d3c42e) Updates `anthropics/claude-code-action` from 1.0.148 to 1.0.177 - [Release notes](https://github.com/anthropics/claude-code-action/releases) - [Commits](anthropics/claude-code-action@d5726de...3553f84) Updates `astral-sh/setup-uv` from 8.2.0 to 8.3.2 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](astral-sh/setup-uv@fac544c...11f9893) Updates `actions/setup-node` from 6.4.0 to 7.0.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@48b55a0...8207627) Updates `actions/github-script` from 8.0.0 to 9.0.0 - [Release notes](https://github.com/actions/github-script/releases) - [Commits](actions/github-script@ed59741...3a2844b) Updates `zizmorcore/zizmor-action` from 0.5.6 to 0.6.0 - [Release notes](https://github.com/zizmorcore/zizmor-action/releases) - [Commits](zizmorcore/zizmor-action@5f14fd0...6599ee8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: anthropics/claude-code-action dependency-version: 1.0.177 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: astral-sh/setup-uv dependency-version: 8.3.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/github-script dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: zizmorcore/zizmor-action dependency-version: 0.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| ref: ${{ needs.authorize.outputs.head_sha }} | ||
| persist-credentials: false |
There was a problem hiding this comment.
🔴 actions/checkout v7's new fork-PR guard (actions/checkout#2454) will make the build job's checkout step fail for any fork-opened PR: the step runs under pull_request_target with ref set to the PR head SHA, which v7 refuses unless allow-unsafe-pr-checkout: true is set. Since this checkout of PR code is the workflow's deliberate, admin-gated and secret-isolated design (per the header comment), add allow-unsafe-pr-checkout: true to this step, noting the authorize job as the compensating control.
Extended reasoning...
What breaks. actions/checkout v7.0.0's headline breaking change (actions/checkout#2454, also backported to v6.1.0) adds a guard that refuses to check out a fork PR's head when the workflow was triggered by pull_request_target or workflow_run, unless the new allow-unsafe-pr-checkout: true input is set. The build job in docs-preview.yml is triggered by pull_request_target and explicitly checks out the PR head via ref: ${{ needs.authorize.outputs.head_sha }} — exactly the pattern the new guard blocks. After this bump, every admin-authorized auto-preview of a PR opened from a fork fails at the checkout step with Refusing to check out fork pull request code from a pull_request_target workflow.
Why the v7.0.1 relaxation doesn't help. v7.0.1 (actions/checkout#2518) skips the guard only when the ref input is left at its default. Verified against the pinned commit 3d3c42e: in src/input-helper.ts, isDefaultCheckout = isWorkflowRepository && !core.getInput('ref') — this job sets ref explicitly, so assertSafePrCheckout still runs.
Step-by-step proof (traced through the pinned v7.0.1 source). A maintainer with admin opens a docs PR from their fork; the authorize job approves it and outputs head_sha = context.payload.pull_request.head.sha. In the build job's checkout step:
input-helper.ts:refinput is non-empty →isDefaultCheckoutis false → the guard runs.unsafe-pr-checkout-helper.ts:eventName === 'pull_request_target'matches; the 40-hexrefinput is reclassified asinput.commit.- The guard collects
pull_request.head.shafrom the event payload intoprShas; the workflow passed precisely that SHA, socommitMatchesPrHeadShais true. pull_request.head.repo.id !== repository.id(fork) andallow-unsafe-pr-checkoutis unset (defaultfalseinaction.yml) → the step throws and the build job fails.
Why this is a deliberate capability, not an accident. The workflow's header comment documents this design explicitly: the build executes PR code, is gated by the authorize job (admin sender for auto-preview, admin/maintainer for /preview-docs), and is isolated from Cloudflare secrets — PR code never shares a runner with the deploy token. The exact risk v7's guard targets is already mitigated by an intentional, layered design, so the guard's failure here is a false positive for this workflow.
Scope. Same-repo PRs are unaffected (head.repo.id === repository.id returns early), and the issue_comment /preview-docs path is unaffected (event name mismatch). No other workflow bumped in this PR checks out a PR head under pull_request_target/workflow_run, so this is the only affected location — but fork-opened PRs are common for maintainers, and the auto-preview path would regress silently until someone hits it.
Fix. Add allow-unsafe-pr-checkout: true to this checkout step (with a brief comment — and a zizmor ignore if the new zizmor version flags it — documenting that the authorize gate plus secret isolation are the compensating controls), then merge the bump.
Bumps the github-actions group with 6 updates in the / directory:
6.0.37.0.11.0.1481.0.1778.2.08.3.26.4.07.0.08.0.09.0.00.5.60.6.0Updates
actions/checkoutfrom 6.0.3 to 7.0.1Release notes
Sourced from actions/checkout's releases.
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)Updates
anthropics/claude-code-actionfrom 1.0.148 to 1.0.177Release notes
Sourced from anthropics/claude-code-action's releases.
... (truncated)
Commits
3553f84chore: bump Claude Code to 2.1.214 and Agent SDK to 0.3.214700e7f8chore: bump Claude Code to 2.1.212 and Agent SDK to 0.3.2123e807ecfix: handle null comment/review author from deleted accounts (#1490)2988cbedocs: map custom_instructions to --append-system-prompt (#1480) (#1484)a1c0599fix(format): filter out thinking_tokens system messages from step summary (#1...5bfa96afix: allow leading underscore in branch names (valid per git-check-ref-format...214a706fix: map claude_args model to SDK options (#1474)5f509a1fix(sanitizer): strip alt text from reference-style markdown images (#1488)e64308ffix: sanitize {{label}} in branch name templates (#1492)58dc33dtest: cover prepareContext validation error branches (#1460)Updates
astral-sh/setup-uvfrom 8.2.0 to 8.3.2Commits
11f9893chore: roll up Dependabot updates (#948)f798556docs: update version references to v8.3.1 (#946)e80544dchore: update known checksums for 0.11.28 (#947)f98e069Change update-docs PR labels from 'update-docs' to 'documentation' (#945)cd46263chore: update known checksums for 0.11.27 (#944)11245c7docs: update version references to v8.3.0 (#939)d31148dStrip environment markers from detected uv dependency pins (#938)17c3989Fix cache keys for Python version ranges (#937)3cc3c11chore(deps): roll up Dependabot updates (#936)9225f84chore(deps): bump release-drafter/release-drafter from 7.3.1 to 7.4.0 (#924)Updates
actions/setup-nodefrom 6.4.0 to 7.0.0Release notes
Sourced from actions/setup-node's releases.
Commits
8207627Migrate to ESM and upgrade dependencies (#1574)04be95cAdd cache-primary-key and cache-matched-key as outputs (#1577)7c2c68ddocs: Update caching recommendations to mitigate cache poisoning risks (#1567)6a61c03Merge pull request #1569 from jasongin/update-actions-cache-5.1.030eb73bResolve high-severity audit issues4e1a87aUpdate dist360237fStrict equality4f8aac5Bump@actions/cacheto 5.1.0, log cache write deniedf4a67bbOnly usemirrorTokeningetManifestif it's provided (#1548)0355742Remove dummy NODE_AUTH_TOKEN export (#1558)Updates
actions/github-scriptfrom 8.0.0 to 9.0.0Release notes
Sourced from actions/github-script's releases.
Commits
3a2844bMerge pull request #700 from actions/salmanmkc/expose-getoctokit + prepare re...ca10bbdfix: use@octokit/core/types import for v7 compatibility86e48e2merge: incorporate main branch changesc108472chore: rebuild dist for v9 upgrade and getOctokit factoryafff112Merge pull request #712 from actions/salmanmkc/deployment-false + fix user-ag...ff8117eci: fix user-agent test to handle orchestration ID81c6b78ci: use deployment: false to suppress deployment noise from integration tests3953cafdocs: update README examples from@v8to@v9, add getOctokit docs and v9 brea...c17d55bci: add getOctokit integration test joba047196test: add getOctokit integration tests via callAsyncFunctionUpdates
zizmorcore/zizmor-actionfrom 0.5.6 to 0.6.0Release notes
Sourced from zizmorcore/zizmor-action's releases.
Commits
6599ee8Addcollectinput (#139)bec05c8Sync zizmor versions (#137)cf59549Add issue templates (#135)f72bf17chore(deps): bump github/codeql-action/upload-sarif (#134)b2a6facci: block version sync workflow on forks (#129)2d88f44Readme: document missing inputs (#130)d81e276Fold Docker image pull output into a collapsed Actions log group (#132)8c13c53chore(deps): bump the github-actions group with 2 updates (#133)2f8e9c6README: bump versions (#128)192e21dSync zizmor versions (#127)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 <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions