Repository navigation
docs: runbook for the pull_request_target event policy - #231
Merged
Merged
Conversation
From 2026-12-02 GitHub blocks pull_request_target runs in public repositories unless an Actions event policy allows the event. The PR triage caller (ADR-0068, ADR-0077, ADR-0078) runs only on that event. The runbook gives the organization policy, the repository policies of the personal account, a test, the inventory of pull_request_target workflows and a hardening check of the caller and pr-triage.
bketelsen
approved these changes
Nov 9, 2026
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.
Summary
From 2026-12-02, GitHub blocks every
pull_request_targetrun in a public repository unless an applicable Actions event policy allows the event (default policy, changelog). The PR triage caller (ADR-0068, ADR-0077, ADR-0078) runs only on that event. A blocked caller run has no job: no level label, norisk:high, and no removal ofready-for-humanafter a push.This PR adds
docs/design/pull-request-target-policy.md, a settings runbook for an owner:.github/workflows/risk-paths.ymland.github/workflows/risk-paths-caller.yml, event rulepull_request_targetonly, no actor rule;publish.yml, so 1 action shows the allow and the block;pull_request_targetworkflows in the 331 non-archived frostyard and bketelsen repositories, with keep or move for each;Evidence for the policy scope: the brownout of 2026-11-09 16:00–18:00 UTC blocked caller runs as
startup_failurewith 0 jobs, on the caller path (for example run 42660432264). So the policy decision is on the caller run, and the pinned reusable workflow is a job of that run. The runbook test confirms this, and gives the fallback when it does not hold.Also: an index line in
docs/README.mdand a back-link indocs/design/pr-triage-rollout.md.Risk tier
Risk tier: 1 — docs only; no workflow, script or setting changes.
Docs housekeeping
TEMPLATE.mddocs/README.mdVerification
node scripts/check-docs.mjsgreen (110 docs, 2132 links)make verifygreen (725 tests pass)Cross-review: openai/gpt-6.1-sol, Ready at f5cc6cb (1 review at 37cfe16 with 1 low finding, fixed; 1 re-review, no finding). Revert test: exempt (docs only).