You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bumps `actions/checkout` to v7.0.0 across all workflows.
v7 refuses to check out fork-PR code under `pull_request_target`/`workflow_run` unless `allow-unsafe-pr-checkout: true` is set.
Three steps intentionally check out fork-PR code, and we already defend against the malicious case (no persisted credentials; only trusted, base-built tooling runs against the checkout), so they get the opt-in:
```
┌────────────────────────────────────────────┬──────────────────────────────────┬─────────────────────────────────────────────────────────┐
│ File │ Step │ Checked-out ref │
├────────────────────────────────────────────┼──────────────────────────────────┼─────────────────────────────────────────────────────────┤
│ .github/workflows/add_label_from_diff.yaml │ "Checkout branch to label" (L50) │ ${{ github.event.pull_request.head.sha || github.sha }} │
├────────────────────────────────────────────┼──────────────────────────────────┼─────────────────────────────────────────────────────────┤
│ .github/workflows/PR_summary.yml │ "Checkout code" (L29) │ ${{ github.event.pull_request.head.sha }} │
├────────────────────────────────────────────┼──────────────────────────────────┼─────────────────────────────────────────────────────────┤
│ .github/workflows/decls-diff.yml │ "Checkout new commit" (L67) │ ${{ steps.meta.outputs.new-sha }} │
└────────────────────────────────────────────┴──────────────────────────────────┴─────────────────────────────────────────────────────────┘
```
0 commit comments