
GitHub has announced that pull_request_target will be blocked by default in public repositories, with enforcement starting 2 December 2026. This article covers pipeline ownership, the secrets a workflow can reach, and what to review before the date.
Picture the morning of 3 December (a hypothetical scene, not a real incident). Marketing reports that a page edited by a contractor yesterday has not gone live, because the contractor's pull request is stuck. Nobody can say why. IT looks and finds that the preview and deploy checks of that public repository were skipped from yesterday on, and nobody in the company remembers who wrote the workflow. We think organisations should rehearse this scene before the date GitHub has announced. Not because it is a large threat, but because it is work nobody owns.
This article makes one argument. GitHub's change of default is only half a technical problem. The other half is whether your organisation knows how many public repositories it has, which workflows in them can reach secrets, and who has the authority to leave the door open or shut it. We do not teach how to write a workflow. We cover what to check before the enforcement date and what someone should be made responsible for.
What we could verify, and what we could not
As of 16 November 2026 we read GitHub's original announcement, dated 2 November 2026 and titled pull_request_target blocked by default December 2, and the GitHub Docs page Securely using pull_request_target. What we found there:
GitHub Actions will block the pull_request_target event by default in public repositories, unless an applicable Actions event policy explicitly allows it. Enforcement starts on 2 December 2026, and the announcement says it was previously scheduled for 2 November 2026.
The scope is public repositories on GitHub Free, GitHub Team and GitHub Enterprise Cloud. The announcement says private and internal repositories are not affected, and that GitHub Enterprise Server is not covered.
The rule starts in evaluate mode: workflows keep running, but GitHub records which runs would be blocked, and you can see them in Insights before enforcement.
The announcement lists two brownout windows, 9 and 16 November 2026, 16:00 to 18:00 UTC. In those windows a blocked attempt becomes a failed run with an error annotation, and the workflow does not execute. After each window the rule returns to evaluate mode.
The options given are to keep the block, or to allow pull_request_target explicitly in a policy, with the option of targeting specific workflow files.
Where the sources are silent, we do not guess. The announcement does not say whether other events such as issue_comment and workflow_run fall under the rule. The docs only say those events can create similar risks. We give no click-by-click steps for Insights or for organisation and enterprise policies, since both pages only link elsewhere. Every figure that is not on those two pages, such as statistics from secondary blogs, we left out. And because this is time-boxed, open the originals again before you decide: the date has already moved once.
What pull_request_target is, for people who do not write code
When an outsider sends a proposed change (a pull request) from a fork to a public repository, certain workflows react to it. Per the announcement, pull_request_target runs in the context of the base repository and can access that repository's secrets. If a workflow pulls untrusted code from the fork and runs it with those rights, that code could damage the pipeline or steal secrets. So GitHub chose to switch it off first.
In business terms, it is a door that lets a stranger borrow the pipeline's keys for a moment. There are sometimes good reasons to leave that door open, for instance a bot that labels or answers contributors' pull requests. But someone has to know it is open.
Who owns the pipelines of public repositories
The first question we would ask is who in your organisation knows how many GitHub organisations exist and which repositories are public. A common answer is that the main organisation has a clear owner, while repositories a contractor created under a personal account, or sample and documentation repositories once made public to hand to a customer, are on nobody's list.
Each repository needs one named person who can answer three things: what this workflow does, which secrets it can call, and who is hurt if it stops. Handing over keys when a development team changes is covered in managing access when the development team changes hands. The only thing we add here is that the pipeline of a public repository is the key people forget most often, because it looks as if there is nothing secret in it.
The secrets a workflow can reach
The damage through this route depends on what is attached. A token that deploys a website, a key to a package registry and a cloud credential carry very different weight. We suggest the owner opens the secret list of each public repository and writes beside every entry who issued it, when it expires and what it is used for. If nobody can answer, treat it as a candidate for rotation. Detection, rotation and what to ask for at handover are in our article on secrets leaked in repos and pipelines, so we do not repeat them here.
The other side of the same subject is the dependency chain. When a workflow pulls in outside components, "are we affected?" must be answerable quickly. The SBOM idea in our npm supply chain article helps there, but it does not answer who may trigger what in a pipeline, which is the question here.
Builds that stop without anyone noticing
The real operational risk, we think, is silence. After enforcement, a blocked attempt is a failed run with an error annotation, as the announcement describes for the brownout windows. We did not read that anyone gets a special alert, so do not assume one. The symptoms are an outside pull request with no check result, a bot that used to label and has gone quiet, or an automatic step that used to happen by itself and does not. Often nobody files an error report, because the people affected are outside your organisation.
Nobody hears a run that never happens.
So before 2 December, list the workflows that use pull_request_target. For each one, decide among three paths, following GitHub's docs: does it still need the event? If not, move to a safer event such as pull_request. If it does, allow it explicitly in a policy, and let the person who decides be someone with real authority, not the developer who happened to write the file. Treat the change like any other release, as described in production change and release management.
A related but separate checkout change
Another change should be kept apart. The announcement Safer pull_request_target defaults for GitHub Actions checkout, dated 18 June 2026, says actions/checkout version 7 refuses to check out fork pull request code in workflows that use pull_request_target. We read that other supported major versions (except v1) received a backport, with enforcement revised to 20 July 2026, that workflows pinned to a floating tag such as @v4 pick it up automatically, and that those pinned to a SHA or a minor or patch version do not until they upgrade. It also describes an allow-unsafe-pr-checkout input as an escape, and advises treating its use as a deliberate security decision.
Administratively, the two differ in where they block: the first at the event, the second at the step that fetches code. A workflow you cleared on the first by allowing it may still meet the second, or the other way round, so check both in the same pass.
How to review before the date
The order we suggest for whoever is responsible:
List every organisation and public repository, including those under contractors' accounts.
Ask each owner which workflows use pull_request_target, with GitHub Insights as the evidence.
Have the owner choose to retire it, change the event or request an allow, and write a short reason.
Name one person to watch failed runs in those repositories during the first week after enforcement.
The last step is the one most often skipped. It is not technical. It is assigning a watching job to a person with a name.
When all of this is more than you need
If your organisation has no public repositories, the rule as announced does not touch you, and you can skip the list above. The same holds if you have public repositories but no workflow uses pull_request_target: the work ends with one search and a note that nothing was found. And if a public repository belongs to a small team that maintains it and knows every workflow, ten minutes of conversation beats a process. To be plain about our limits: we do not know how many repositories your organisation has, and the pages we read do not say how the rule treats a repository made public after the enforcement date, so check GitHub's documentation on that yourself.
What to keep
Before 2 December 2026, find out how many public repositories you have and which of them contain a workflow using pull_request_target, then give each one a single named owner who can decide to retire, change or allow it. GitHub's change of default is only a reminder that this job never had an owner.
If you would like to talk through a project, you can reach us on 088-983-9386 or at [email protected]. Our office is in Bang Kapi, Bangkok. For organisations still drafting their scope of work, we are glad to meet and understand the problem first, without a complete set of documents. If the conversation shows the problem is not yet ready for a new system, we will say so plainly, because starting a project at the wrong time costs more than waiting another quarter.
FAQ: Frequently Asked Questions about This Article
A collection of questions and answers to help you better understand the content of this article.
Tags:

