BuildRiot
Sign in

Article · Security

GitHub’s November 9 brownout will block affected pull_request_target workflows

GitHub will temporarily block affected pull_request_target workflows on November 9, 2026, before permanent enforcement begins December 2. This guide explains how to inspect policy findings, choose a migration and rehearse fork contributions while distinguishing policy blocks from checkout and test failures.

A miniature paper workflow branches around red barriers via a blue bridge, beside a magnified policy finding and an open case for rehearsing contributions.
Illustration: BuildRiot (AI-generated)

Key takeaway

A workflow exception permits execution without resolving the risk of running fork code with privileged access. Maintainers should verify both the contribution path and its trust boundaries before required checks stop running.

November 9 is a rehearsal deadline

GitHub will block affected pull_request_target workflows for two hours on November 9, 2026, creating failed runs with error annotations instead of executing them. Its November 2 announcement moved permanent enforcement to December 2, 2026, with two temporary enforcement windows, or brownouts, beforehand. Maintainers should identify which fork contributions depend on those workflows and rehearse their replacements before the first window. Sources: GitHub

The announcement covers public repositories on GitHub Free, Team and Enterprise Cloud; it excludes private and internal repositories and GitHub Enterprise Server. GitHub’s security guide qualifies December enforcement as applying to affected repositories using the default policy before general availability. An applicable event policy can explicitly permit the event. GitHub has not specified the December 2 activation hour. The timeline below leaves a week between brownouts to make corrections. Sources: GitHub, GitHub Docs

Timeline

GitHub’s enforcement schedule, in UTC

  1. November 9, 2026, 16:00–18:00 UTC [1]First brownout: blocked attempts fail with error annotations; workflows do not execute.
  2. November 16, 2026, 16:00–18:00 UTC [1]Second brownout: the same temporary enforcement applies.
  3. December 2, 2026 [1]Permanent default enforcement begins.
After each brownout, workflows return to running with warnings under the default evaluation policy.Source: GitHub

Inspect policy findings before changing triggers

At repository or organization level, open Settings, then Actions, then Policies. Policy insights appears directly beneath the policies page in the sidebar. Enterprise navigation starts at Policies, then Actions, then Policies. Insights separates runs blocked by active policies from runs that would have been blocked under evaluation. Repository administrators, organization owners and enterprise owners can manage these protections. Sources: GitHub Docs

For each finding, record the workflow path, event, run URL, actor, responsible policy, enforcement status and account level. Add the workflow’s purpose, secrets, token permissions, runner access and untrusted inputs, then assign an owner and proposed change. Restrictions layer across enterprise, organization and repository levels, with lower levels adding restrictions. Do not assume a repository exception overrides an organization restriction. Actor restrictions also matter: identities such as dependabot[bot] may need explicit inclusion. Sources: GitHub Docs

Creating an evaluation policy requires Enterprise Cloud; GitHub’s built-in default evaluation period is a separate mechanism. An empty findings list should prompt a fork rehearsal rather than end the investigation. Save expected checks alongside findings so later tests can show whether the contribution path still works. Aim for a decision record for each workflow, including its owner and fork-test evidence. Sources: GitHub Docs

Trace what runs after checkout

GitHub documents fork pull_request workflows as using the merge-commit workflow, a read-only token and no other secrets. By contrast, pull_request_target uses trusted default-branch workflow code and can access base-repository secrets. Fetching fork code becomes dangerous when tests, dependency installation or configuration loading execute it; checkout alone is not execution. Begin local triage with these candidate searches, then inspect the workflow structure and follow referenced scripts and actions manually. Treat matches as starting points for inspection, not security findings. Sources: GitHub Docs

rg -n 'pull_request_target|workflow_run|issue_comment' .github/workflows

rg -n \
  'head\.sha|head\.repo|refs/pull|gh pr checkout|git fetch|allow-unsafe-pr-checkout' \
  .github

Radius issue #13085 shows why search matches need interpretation. Its author identified cloud functional tests and commit-signature verification as affected, while another file mentioned the event only in a comment. The author reported that cloud tests needed Azure and Amazon Web Services credentials and registries, checked out pull-request code, and included contributor approval checks. The signature workflow reportedly used trusted base code without executing contributed code. Those configurations are maintainer assessments, not independent security audits; approval gates alone should not be treated as proof of safe execution. Sources: Radius project on GitHub

Choose a migration for each workflow’s job

GitHub recommends pull_request where elevated access is unnecessary and narrowly justified exceptions where it remains necessary. Start with the workflow’s purpose: testing contributed code presents a different trust problem from labeling a pull request using trusted code. The table below offers migration choices based on those differences. These are engineering recommendations, not four prescribed GitHub recipes. Sources: GitHub Docs

Table

Proposed migration choices by workflow purpose

Workflow needProposed directionTrade-off to validate
Build/test fork code without secretsMove to pull_requestConfirm checkout revision, permissions, dependencies and check names
Labels, triage or comments using trusted codeConsider a path-scoped pull_request_target allowanceAudit inputs and grant only necessary write permissions
Untrusted build plus authenticated reportingSeparate unprivileged execution from privileged reportingArtifact provenance and parsing become security boundaries
Fork tests requiring private servicesRedesign authentication, fixtures or isolation before granting an exceptionMore engineering effort; a trigger rename cannot remove the trust problem
These recommendations match workflow needs to the documented trust boundaries and policy controls.Sources: GitHub Docs, GitHub Security Lab

GitHub Security Lab demonstrates an unprivileged pull_request workflow followed by a privileged workflow_run consumer. The consumer must still treat artifacts as untrusted: reading a coverage message as data differs from executing a downloaded binary. Review artifact provenance, parsing and every place downloaded content can affect privileged execution. Splitting the workflows creates a boundary that still needs protection. Sources: GitHub Security Lab

GitHub supports targeting workflow paths, allowing narrowly scoped exceptions. Review the intended actor and event together, and grant only the permissions needed for the task. GitHub also documents read-only default-branch cache access for pull_request_target. Cache-save attempts produce warnings while the job continues, and write-capable cache overrides reintroduce risk. Permission to run and safe handling of untrusted input remain separate decisions. Sources: GitHub Docs

Separate event policy from checkout protection

The actions/checkout documentation says v7 refuses fork pull-request code checkout by default under pull_request_target and workflow_run. A permitted event can therefore still encounter a checkout failure. GitHub provides a checkout opt-in, but its security guidance says to confirm first that fetched code is never executed. Review that decision separately from permission to run the workflow event. Sources: GitHub Docs, GitHub

Checkout protection does not cover unrelated untrusted repositories, manual fetching through Git or GitHub CLI, or execution of downloaded artifacts. Record the exact checkout version or commit hash and runner version for every rehearsal. The action’s v6 documentation places persisted credentials under the runner temporary directory. It also requires runner v2.329.0 or later for authenticated Git commands from Docker container actions. Use those details to distinguish credential or runtime problems from policy enforcement. Sources: GitHub Docs, GitHub

Rehearse the complete fork contribution

Begin with a disposable public test repository carrying representative policies and no production credentials, then make a benign contribution to the real repository. Use an external fork identity to exercise the intended contributor path. Include a harmless, intentional test failure: a green run alone does not establish that the workflow tested changed fork code. Use the following proposed rehearsal sequence and keep the evidence with the migration decision.

  1. Capture policy findings, expected checks, workflow revision and action versions.
  2. Open a fork pull request, push another commit and exercise additional declared activity types.
  3. Introduce a harmless test failure and confirm that checks detect the changed fork code.
  4. Exercise labels, comments and reporting separately, checking the destination pull request and needed permissions.
  5. Permit one reviewed workflow path and verify that another targeted workflow remains blocked.
  6. During the brownout, capture the annotation for an expected block and outcomes for permitted or migrated workflows.
  7. Check required-check names and contributor approval behavior, then record run links, actor, event, revision, policy state and outcome.

Classify each outcome as policy rejection, approval waiting, checkout rejection or application-test failure before changing anything else. After each brownout, GitHub says the default returns to evaluation, allowing workflows to run with warnings. Use that interval to correct failures and retest unresolved cases during the November 16, 2026, window. Before December 2, 2026, assign an owner to every unresolved required check and every exception permitting privileged handling of fork input. Sources: GitHub

Attribution

Sources

  1. 1GitHubpull_request_target blocked by default December 2Source published (UTC)
  2. 2GitHub DocsSecurely using pull_request_target
  3. 3GitHub DocsGoverning execution of GitHub Actions workflows
  4. 4GitHubactions/checkout documentation
  5. 5GitHub Security LabKeeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests
  6. 6Radius project on GitHubPrepare for GitHub's default pull_request_target policy enforcement (Nov 2, 2026)

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on Security

All Security stories
GitHub’s November 9 brownout will block affected pull_request_target workflows · BuildRiot