CI workflow trust boundary

The Privileged Trigger: GitHub Actions Changes the Default for External Pull Requests

GitHub will block pull_request_target events in public repositories by default on December 2. The engineering issue is the boundary between fork contributions and base-repository authority.

Conceptual trust boundary between an external pull request and a privileged base-repository workflow, with the announced evaluation and enforcement dates.

A contribution from an external fork has to be examined by the project that receives it. That examination often needs automation: labels, comments, test results and status checks help maintainers handle work at scale. Yet the submitted branch is controlled by someone outside the base repository, while some automated workflows run with authority belonging to that repository. The difference between those two trust levels is the engineering problem behind GitHub’s November 2, 2026 announcement.

On December 2, GitHub Actions is scheduled to block pull_request_target events by default in public repositories unless an applicable Actions event policy explicitly allows them. GitHub moved the permanent enforcement date from November 2. Until then, the default rule is in evaluate mode, interrupted by two temporary enforcement periods on November 9 and November 16, each from 16:00 to 18:00 UTC. A project that depends on this trigger has an immediate audit task, but the policy is not a claim that every use of the trigger is unsafe.

Why this trigger has a different trust boundary

The ordinary pull_request event and pull_request_target are often discussed together, yet their execution contexts matter more than their similar names. GitHub says pull_request_target executes in the context of the base repository and can access its secrets. That capability can be appropriate for narrowly scoped maintenance actions that must operate with base-repository authority. It becomes dangerous when the workflow also checks out and executes code controlled by an external fork.

Consider a workflow that starts on an external pull request, switches its checkout to the contributor’s head commit and then runs a package install script or test command with credentials available. The submitted code may alter the script. The automation has crossed from inspecting untrusted material to executing it with privileged context. A malicious change could use that opportunity to compromise the pipeline or extract secrets. This is the pattern GitHub identifies; the trigger alone is not evidence that a particular repository has already been compromised.

The distinction is especially easy to lose when workflow files have grown over years. A labeler may initially need only pull-request metadata. Later someone adds a build step, a checkout of the head branch or a reusable action that executes project code. Security now depends on the combined workflow rather than the name or intent of the original automation. A review therefore needs to follow actual event conditions, checkout references, action permissions and each command that consumes contributor-controlled files.

What GitHub is changing

The new default is implemented through workflow execution protections and Actions event policies. In evaluate mode, repository owners can see which runs the rule would block without immediately losing those runs. During each brownout, affected attempts create failed runs with an error annotation and the workflow does not execute. After the two-hour window, the default returns to evaluation and workflows run with warnings. Permanent blocking is scheduled for December 2.

GitHub offers two documented choices: retain the default block or explicitly allow pull_request_target through an applicable event policy. Workflow file targeting can narrow an exception to specific workflows. An allow policy is therefore a deliberate authorization decision, not a security review completed by the platform. Administrators should know what a workflow needs to do, why a less privileged event would not suffice and how the workflow avoids executing untrusted code with base-repository credentials.

The announced scope is public repositories on GitHub Free, Team and Enterprise Cloud. Private and internal repositories are not affected by this default change, and GitHub Enterprise Server is outside the rollout. Those boundaries describe deployment of the policy, not a different physical law of CI security: a privileged workflow that executes untrusted input needs scrutiny wherever it runs.

A practical audit before the first brownout

First, inventory workflows that declare pull_request_target. Use the Insights view GitHub points to for runs the rule would block, then read the workflow files themselves. The runtime graph matters: a conditional step may appear safe in isolation but call another action or script that reads or executes external content. Record the event types, token permissions, secrets used and the precise branch or SHA checked out.

Second, distinguish metadata-only work from execution of the contributor’s code. If a workflow only examines the pull-request event and updates a label, constrain its permissions to that operation. If tests or builds are needed for the proposed code, design them to run in an appropriately unprivileged context. If a privileged follow-up is needed to publish a result, pass only data whose origin and integrity can be validated across the boundary. These are architectural review questions, not a universal replacement workflow prescribed by GitHub’s short announcement.

Third, decide whether to request an exception and at what scope. A broad allow rule may restore operations quickly, but it also restores the ability of every matching workflow to run under the base-repository context. A targeted policy and explicit code review of the selected workflows make the risk easier to understand. The relevant test is not simply whether CI turns green during the brownout; it is whether the repository can still handle external contributions without granting their code unintended authority.

The first test window, November 9 at 16:00–18:00 UTC, offers an unusually concrete deadline for maintainers. A failed run then can reveal a policy dependency, but it does not automatically diagnose an exploitable vulnerability. Conversely, a workflow that remains operational because of an explicit exception is not automatically safe. The value of the change is that a formerly implicit execution choice becomes visible and reviewable.

The broader supply-chain lesson

CI pipelines are part of a software supply chain. They build, test, package and sometimes release artifacts, often with credentials that ordinary contributors cannot access. A small event-trigger detail can decide whether untrusted input is merely described to the system or is allowed to act inside it. GitHub’s default block shifts that decision from a quietly inherited trigger to an explicit policy for public repositories.

The outcome still depends on engineering practice: inspect the actual workflow, limit permissions, document exceptions and test the contribution path. GitHub has announced the schedule and control mechanism, but has not supplied evidence that the new default by itself eliminates every route by which contributor input reaches a privileged pipeline.

Source: GitHub Changelog, November 2, 2026.