Engineering operations
Review the workflow before allowing pull_request_target
Keep the default block unless a named workflow still needs this privileged trigger and its trust boundary has been reviewed. If it does, prepare a narrowly scoped policy decision with evidence from the applicable account levels. Keeping CI available requires checking the required status checks as well as the event permission.
What changes on 2 December
GitHub’s 2 November announcement sets 2 December 2026 as the enforcement date: public repositories block pull_request_target by default unless an applicable Actions event policy explicitly permits it. The rollout covers GitHub Free, Team and Enterprise Cloud; private/internal repositories and Enterprise Server are outside it. The 9 and 16 November brownouts are past events, not upcoming preparation windows. The trigger uses the base repository’s context and can access its secrets, making execution of untrusted fork code dangerous. This is a deadline guide based on that announcement, rather than news from the last week of November. (GitHub)
Start with the workflow’s job, not an exception request
For a Swiss business or agency maintaining public repositories, the useful unit of review is one workflow and its owner. Record why it uses pull_request_target, the workflow path and revision, the actors expected to trigger it, and the checks expected on a pull request. Trace every place where fork-controlled input can become executable content: a checked-out revision, a script argument, an action input or an artefact consumed by a later job. Record the permissions and secrets actually needed by the privileged operation.
Classify that inventory before editing settings. If the job only needs to build or test a contribution, investigate a design that does not require privileged execution of that contribution. If the job performs a repository-management task, describe the precise data it reads and writes. A vague requirement to “make the bot work again” is insufficient to justify restoring a privileged path. A policy exception cannot repair unsafe workflow code.
| Question | Evidence to retain | Decision consequence |
|---|---|---|
| Why this trigger? | A concrete task and accountable owner | Remove or redesign an unnecessary dependency before considering permission. |
| What crosses into privileged execution? | Input-to-command and artefact-to-consumer trace | Hold an exception while untrusted execution remains unresolved. |
| Which policy governs it? | Applicable repository, organisation and enterprise scope | Ask the administrator at the controlling level to review the proposal. |
| Which checks must remain available? | Required check names, triggering events and expected result | Accept the transition only when legitimate contributions still produce the intended checks. |
Read the effective policy across account levels
Workflow execution protections layer at repository, organisation and enterprise levels. Policies can target particular workflow paths and repositories. Actor restrictions and event restrictions are separate: an allowed actor must still use a permitted event, while an event permission does not admit an otherwise excluded actor. GitHub distinguishes built-in feature processes from custom workflows run by identities such as dependabot[bot]; the latter need an allowed actor when actor restrictions apply. An administrator should inspect the relevant levels rather than assume a repository setting overrides them. (GitHub)
In the review record, separate what you observed from what you propose. Capture the current policy names, scope and enforcement state, then write the smallest proposed event/workflow change. Have the responsible administrator explain any inherited restriction or conflicting scope before making the change. Do not broaden permissions for unrelated events, workflows or actors merely to clear one failed run.
Use Evaluate as evidence about policy matching
Policy insights show runs that would be blocked under Evaluate and runs blocked by active policies. The announcement describes warnings when its default rule is evaluating, and failed attempts without execution when enforced during the brownouts. These are different observations. A run that succeeds with a warning does not demonstrate that it will execute after enforcement. (GitHub, GitHub)
Prepare an acceptance record for both expected and prohibited cases. For each case, specify the repository visibility, workflow revision, actor, event, policy scope and expected outcome before observing it. Afterwards retain the run identifier and relevant insight or annotation. If no matching run exists, mark the result unobserved; do not turn a settings screenshot into evidence of execution.
| Case | What the reviewer is trying to establish | Evidence needed before sign-off |
|---|---|---|
| Expected contributor and required CI | Legitimate contributions still receive the required checks | The intended event produces the expected checks on the relevant revision. |
| Allowed actor with an excluded event | Actor permission does not accidentally become blanket event permission | The applicable insight or annotation records the expected restriction. |
| Permitted event with an excluded actor | The actor boundary remains effective | The outcome matches the separate actor restriction. |
| Fork-controlled executable content | An event exception does not legitimise a dangerous code path | The code and input review resolves the path before an exception is accepted. |
A small handover is more useful than a blanket allow
Imagine an agency handing a public integration repository to a client. Its maintenance workflow labels requests; another workflow runs contributed code. This is a hypothetical design review, not a tested implementation. The handover should identify the owner of each workflow, explain why any privileged task remains, and keep the contribution-testing path separate in the review. It should also identify who can change policy and who investigates a missing check. Naming those responsibilities makes an exception reviewable after the original developer leaves.
Agree the stop condition before rollout: an unexpected privileged path, a missing required check or an unexplained policy outcome pauses acceptance. Return to the reviewed configuration or hold the affected process while investigating; a blanket allow is not a useful diagnostic shortcut. Retain the previous configuration and a recovery owner, since restoring settings alone does not prove the pipeline is safe.
Scope, cost and the date boundary
Budget administrator review, workflow refactoring and runner use separately. This guide establishes no account price, Swiss-specific entitlement or free migration: check the organisation’s applicable GitHub terms and runner billing before a pilot. GitHub is a hosted proprietary service; access to documentation grants no rights to customer code or secrets. Use authorised test inputs and retain only the evidence needed for the review.
Before 2 December, the decision is whether to keep the default block or justify a specific permitted workflow. At or after the deadline, inspect the effective policy and actual outcomes before describing enforcement in your account as complete. This article neither changes a policy nor certifies a workflow; the acceptance record belongs to the repository owner.
Sources
- pull_request_target blocked by default December 2 — GitHub · 2026-11-02
- Governing execution of GitHub Actions workflows — GitHub