GitHub Actions Blocks pull_request_target in Public Repos on December 2

On 18 November 2026 the Python Software Foundation posted that GitHub will block pull_request_target by default in public repositories on 2 December 2026. The changelog dated 2 November says the block covers public repositories on Free, Team, and Enterprise Cloud unless an Actions event policy explicitly allows the event.

On 18 November 2026 the Python Software Foundation account posted that GitHub will block pull_request_target by default in public repositories on 2 December. The note is timestamped 2026-11-18T18:03:00.000Z. It says the trigger runs with your secrets, so workflows that run fork pull request code can expose them. It points to an overview on the Foundation’s own blog and says background and guidance sit on the Alpha-Omega blog. The post is the 18:03 UTC note.

That note is one sentence of scope, one sentence of impact, and two pointers. It does not name a GitHub plan. It does not name Insights. It does not name an Actions event policy. It does not say private repositories sit outside the block. A reader who stops at the post knows the account tied a default block to public repositories and to 2 December, and tied secret exposure to workflows that run fork pull request code. The plan list, the brownout calendar, and the defensive sequence live on the pages the note points at.

The overview is De-fanging dangerous triggers in GitHub Actions across an organization. The page is dated Wednesday, November 18, 2026. It lists the authors as Mike Fiedler and Seth Larson. The Blogger stamp says miketheman posted it at 11/18/2026 12:46:00 PM. The account posted later the same calendar day. This piece stays inside that note, that overview, and the GitHub changelog the overview links. The Alpha-Omega write-up is named, not restated. The incident reports the overview cites are not opened here.

What the changelog sets, and what it moved

The overview’s first dated claim is the same block the tweet names. It links the changelog entry pull_request_target blocked by default December 2. That page is dated November 2, 2026. It is labeled Retired. It calls itself a 2 minute read.

The rule, in the changelog’s framing, starts on December 2, 2026. GitHub Actions will block pull_request_target events by default in all public repositories, unless an applicable Actions event policy explicitly allows them. The same page says enforcement was previously scheduled for November 2, 2026. The changelog date and the old enforcement date are the same day. The body of that day’s entry is the slip: permanent enforcement moves to December 2.

A maintainer who opened the Foundation’s overview on November 18 was already sixteen days past the date the changelog says enforcement used to have. A maintainer reading this on November 25 is seven days from the date the changelog now names. The slip is the same rule with a later start. The page does not attach a runner image version, a workflow syntax version, or an Actions billing change to that start. The only version the page gives is the calendar date.

The “unless” clause is the part that decides what doing nothing means. The block is the default. An allow has to be an applicable Actions event policy that explicitly allows the event. The changelog does not describe a grace list of existing workflows that keep running because they ran last month. It describes a default block, and a policy exception a maintainer has to write.

That reading matters for a public Python repository that has used the trigger for a year without an event policy. Longevity is not on the page as an exemption. The page’s exemption is explicit allow. A workflow that fired last Tuesday is not, on this text, a workflow that will fire on December 3 unless a policy says so.

Who the block covers

The changelog draws the line in two places.

First, repository visibility. Private and internal repositories are not affected. The page says that near the top, and it says it again in the brownout section. A private Python monorepo is outside the default rule as that page states it. A public repository is inside it.

Second, the GitHub product. The change applies to public repositories on GitHub Free, GitHub Team, and GitHub Enterprise Cloud. It does not apply to GitHub Enterprise Server. A company that runs Actions on Enterprise Server cannot treat December 2 as the day this changelog entry flips a switch on that server. The page does not say Enterprise Server will grow a similar control later. It says this change is not that product.

The Foundation overview uses a different cut, and the cut is about the policy a maintainer can set, not about the platform default. On a GitHub Team or Enterprise plan, it says, you can turn the triggers off for every repository in the organization with one policy. On a Free plan, you can do it one repository at a time. That sentence says “Enterprise.” It does not say “Enterprise Cloud,” and it does not say “Enterprise Server.” The two pages stay in their own words here. The changelog names which products receive the December 2 default. The overview names which plans can apply an organization policy in one step, and which plan has to repeat the work per repository.

Those are different claims, and a planning note that merges them will mis-assign work. A public repository on GitHub Free is on the changelog’s list for the default block. The same plan, in the overview, does not get the one-policy organization switch. A Free-plan maintainer who waits for an organization toggle the overview does not assign to that plan is still inside the December 2 rule the changelog does assign to public repositories on Free.

The pages do not discuss a public fork of a private repository. They do not discuss a private repository that publishes a public package. The line they actually draw is public versus private and internal, plus the product list above. A team that publishes wheels from a public repository and keeps the release token in that repository’s Actions secrets is in the visibility class the changelog names, whatever the package index is. The overview’s incident list is about projects hosted on PyPI. The changelog’s rule is about public repositories. A public repository that never uploads to PyPI is still a public repository.

Evaluate mode, then two short windows, then December 2

GitHub introduced the default rule through workflow execution protections. The changelog says the rule initially runs in evaluate mode, so you can see which workflow runs it would block before enforcement begins.

Before permanent enforcement, the page schedules two brownouts. Both are in the past relative to the Foundation’s November 18 post. Both are in the past relative to November 25.

The first window is November 9, 2026, from 16:00 to 18:00 UTC. The second is November 16, 2026, from 16:00 to 18:00 UTC. Each window is two hours. The page does not describe them as optional, and it does not describe a makeup window.

The changelog says to use Insights before the first brownout on November 9, to see which workflow runs the rule would block. That instruction was written for a reader of the November 2 entry. It was already late on the day the Foundation posted the overview. It is later now. The windows themselves are not available as a dress rehearsal.

What those windows did, the page is specific about. During each window, pull_request_target workflow attempts blocked by the default rule in affected public repositories create failed runs with an error annotation. The workflows do not execute. After each window, the default rule returns to evaluate mode, and workflows run with warnings. Private and internal repositories are not affected during the windows either.

That failed-run description is the closest the changelog comes to a preview of December 2. It is a preview of the block, not a preview of an allow. An error annotation on a failed run, and a workflow that does not execute, is what the page assigns to an attempt the default rule blocks. It does not print the annotation text. It does not say the run is retried. It does not say a later push in the same window is treated differently from the first.

After the November 16 window, the page’s sequence returns the rule to evaluate mode. Permanent enforcement begins on December 2. The page does not list a third brownout between November 16 and December 2. A team that wanted the two-hour failure as a signal has missed both listed windows. What remains, in the tools the changelog names, is Insights for seeing which runs the rule would block, and the warnings that evaluate mode attaches while workflows still run.

Evaluate mode is easy to misread as a postponement of the decision. The changelog’s own sequence says otherwise. Evaluate mode is how you see the block before it sticks. Warnings on runs that still execute are a signal, not an exemption. On December 2 the same rule, unless a policy explicitly allows the event, stops being a warning. The brownout already showed the stopped form: a failed run, an error annotation, a workflow that does not execute. The page assigns that form to the windows. It assigns permanent enforcement to December 2. It does not assign a third form in between.

The two options the changelog actually offers

The overview’s organization sequence is useful, and it is not a substitute for the pair of options the changelog prints. Those options are the decision the default rule forces.

Keep the default rule in place, and pull_request_target stays blocked.

Or explicitly allow pull_request_target in an applicable Actions event policy if your workflows depend on it. The page adds one narrowing tool for that second option: workflow file targeting, so the allow can name specific workflows rather than the event for the whole repository.

The changelog points policy configuration at how to control workflow execution. That page is the link the changelog gives. It is not restated here. The decision the changelog itself states is the pair above: keep the block, or allow the event for workflows that depend on it, with file targeting when the allow should be narrow.

The phrase “if your workflows depend on it” is the only test the changelog gives for the allow. It does not list legitimate jobs. It does not list a labeling workflow, a size check, or a welcome comment as examples. Those examples are not on that page. A maintainer who allows the event because a workflow feels internal is adding a test the changelog does not print. The printed test is dependence: the workflow needs this event, and an applicable policy says so, ideally by file.

File targeting is the part that keeps an allow from becoming a second default. An event-wide allow, if that is what a policy writes, would put every pull_request_target workflow in the repository on the exception side of the December 2 rule. The changelog’s narrowing sentence is there so the allow can name files. A repository with one labeling workflow and one test workflow is not given a single fate by that sentence. The page does not name those two files. It names the tool that can tell them apart: workflow file targeting.

The Foundation overview does give one intended use, and it belongs next to that test. The overview says GitHub built pull_request_target for chores like labeling pull requests from forks, where the workflow never touches the contributor’s code. That is the overview’s account of why the trigger exists. It is not a certificate that a labeling workflow in your repository is safe. The overview does not inspect your file. The changelog does not inspect it either. Insights is the named way to see which runs the rule would block. File targeting is the named way to allow one workflow if you decide it still depends on the event.

A labeling chore that never touches contributor code is the use the overview describes. A workflow that runs the pull request’s own code is the case the changelog’s impact sentence is about: untrusted code from a fork, running where the workflow can reach secrets, could compromise the pipeline or steal those secrets. The tweet says the same impact in fewer words. The defensive split the two pages support, without a file listing, is the split between keeping the block and explicitly allowing a workflow that still depends on the event. The pages do not do the classification for you.

Organization policy sits beside the platform date

The overview’s short version is aimed at people who want the triggers off across an organization, not only at people waiting for GitHub’s default.

A handful of GitHub Actions triggers, it says, let a stranger on the internet start a workflow that may have access to your secrets. On a GitHub Team or Enterprise plan, one policy can turn them off for every repository in the organization. On a Free plan, the same work is one repository at a time. The sequence it prints is short: set the policy up, check what it would block, then enforce it.

That sequence is the part a team can still run after the brownouts. The check step is the overview’s match for the changelog’s Insights step, even though the overview does not use the word Insights in that sentence. Set the policy up first, in a mode that shows what it would block. Enforce after the check. The overview does not say the December 2 platform default waits for you to finish that sequence. The changelog’s default arrives on that date unless an applicable policy explicitly allows the event. A team that is still in the check step on December 1 is not described, on either page, as exempt.

Order matters inside the overview’s own three steps, and the order is easy to invert under deadline pressure. Enforce first, and the check happens as a production failure. The overview prints check before enforce. The changelog printed the same idea earlier, as evaluate mode and Insights before the brownouts, and as warnings while workflows still run. December 2 is the date that sequence stops being a preview. A team that still has the check ahead of it on November 25 is not late for a brownout. It is late for the dress rehearsal, and it is on time for the check the overview still prints.

The overview also separates plan shape from the platform date. Team and Enterprise get one organization policy. Free repeats the work per repository. Neither sentence moves December 2. A Free-plan public repository that has not been visited one repository at a time is still a public repository on GitHub Free, which is a product the changelog lists. Repeating the work is the cost the overview assigns to that plan. Skipping the work is not an exemption the changelog assigns.

There is a practical reading for a Python organization that mixes plans, and it stays inside those sentences. A Team-plan organization can write one policy for every repository. A Free-plan user with a single public repository does the check on that repository. A company on Enterprise Cloud is in the changelog’s product list for the default block, and the overview’s “Enterprise” sentence is the one that offers a single organization policy. A company on Enterprise Server is the product the changelog excludes from this change. The overview’s word “Enterprise” does not, by itself, pull Enterprise Server back into the December 2 default. The changelog is the page that names the product boundary.

What the Foundation says it already did

Mike Fiedler is the PyPI Safety and Security Engineer. Seth Larson is the Security Developer in Residence. The overview says they have removed dangerous triggers and applied these policies to the organizations the Foundation stewards: psf, python, and pypi.

The later bullets do not leave those three names in one state.

Mike set up the event policy for the pypi GitHub organization. That bullet is a completed setup, as the sentence is written.

Seth is working to migrate the few remaining repositories that use insecure triggers in the python GitHub organization before enabling the event policy. That bullet is unfinished, as the sentence is written. “Few” is not a count. The page does not name the remaining repositories. A reader cannot turn “few” into a list, and cannot tell from this page whether the event policy on the python organization is enabled on November 25.

The opening summary says the policies have been applied to all three organizations. The python bullet says the event policy is still waiting on a migration. The page does not add a date that resolves the two sentences. Both sentences stay on the page. What a downstream user can take from the pair is narrower than a finished map. The pypi organization is described as having the event policy set up. The python organization is described as still migrating remaining repositories before that enablement. The psf organization appears in the summary list and does not get its own later bullet.

That split is useful even if your repository is in none of the three organizations. It shows the Foundation distinguishing a policy that has been set up from a migration that is still in progress, inside a post whose title is about organization-wide work. A reader who treats the summary sentence as a completion certificate for every Python GitHub organization is reading a sentence about three named organizations, and is skipping the bullet that keeps one of them open. A reader who maintains a public repository outside those three has no sentence on this page that reviews their files.

The overview says the full rollout write-up is on the Alpha-Omega blog, at the technical documentation page De-fanging dangerous triggers in GitHub Actions across an organization. The tweet calls that blog the background and guidance. The rollout page is not restated here. If the click-path for an organization policy is what you need, that is the page the Foundation names for it, next to the docs URL the changelog names.

Alpha-Omega, the overview says, supports Mike’s role and Seth’s role. The post treats that support as the reason those two had time for the policy work, the incident work with maintainers, and this guide. That is a staffing claim. It is not a claim that a repository outside the three named organizations has already been changed. A donation link is not a workflow review.

Incidents the overview names, and the impact the changelog states

The overview asks whether dangerous triggers have caused real incidents, and it answers yes, repeatedly, including projects hosted on PyPI.

It names Ultralytics in December 2024. It says malicious releases reached PyPI.

It names LiteLLM and Telnyx in March 2026. It says malicious releases of both packages were published. It says the Foundation worked with both maintainer teams on token rotation, release removals, and a move to Trusted Publishers, and that both projects have since adopted Trusted Publishers.

It names elementary-data in April 2026. It says the project’s own release pipeline published the result to PyPI.

Those four names, those three dates, and those outcomes are the incident record carried here. The overview also describes how each case started. Those paths stay on that page. The changelog’s impact sentence is the one that matches the December 2 rule without a case narrative. pull_request_target runs in the context of the base repository and can access its secrets. If a workflow executes untrusted code from a fork, that code could compromise your pipeline or steal secrets. The tweet’s impact sentence is shorter and points the same direction: the trigger runs with your secrets, so workflows that run fork pull request code can expose them.

The dates are worth reading as a span, not as a single scare line. December 2024, March 2026, and April 2026 are the months the overview attaches to named PyPI-hosted projects. The changelog’s rule is dated November 2, 2026, with enforcement on December 2, 2026. The overview, posted November 18, 2026, treats the incidents as the reason the trigger class matters, and treats the December 2 block as the platform change in front of maintainers now. A maintainer does not need the case narratives to know which date the changelog assigned to their public repository.

Trusted Publishers belong in a separate sentence from the December 2 rule. The overview attaches that adoption to the LiteLLM and Telnyx incident work, alongside token rotation and release removals. The changelog does not mention Trusted Publishers. Adopting them is not described, on the changelog, as the switch that satisfies the default block. The switch the changelog describes is the event policy: keep the block, or explicitly allow the event for workflows that depend on it. A project can have adopted Trusted Publishers and still have a pull_request_target workflow. The overview does not say the adoption removed the trigger. It says both projects adopted Trusted Publishers after the incident work.

The overview says the maintainers behind these projects were not careless, and that these triggers look harmless in a workflow file. That is a warning about appearance. It is not a finding about a file you have not opened. Insights, not a glance at the trigger name in isolation, is the check the changelog names. A file that looks like a labeling chore and a file that runs fork code can share a trigger name. The overview’s appearance warning is the reason the name alone is a weak check. The changelog’s Insights step is the check that looks at runs.

Who has to act follows from the product list, not from the incident list. The incidents are evidence the overview offers that the trigger class has already put malicious releases on PyPI. The people the changelog puts on the clock are maintainers of public repositories on GitHub Free, GitHub Team, and GitHub Enterprise Cloud. A private repository is outside that clock, on the changelog’s own line. A public repository that has never been in an incident report is not outside it. The rule is a default for the visibility class, not a response limited to the four names.

What neither page counts

Several figures a planning doc would want are absent, and the absence is part of the record.

Neither page counts how many public Python repositories use pull_request_target. Neither page counts how many runs Insights would flag on the psf, python, or pypi organizations. The python bullet says “few” remaining repositories and stops. There is no table of workflow file names. A blog that invented a percentage, or a count of repositories scanned, would be writing a number neither page printed.

Neither page names a secret that was exposed, in the sense of printing a token prefix or a secret name from one of the incidents. No secret name is added here.

Neither page says the December 2 block covers every GitHub Actions trigger the overview calls dangerous. The changelog’s enforcement sentence names pull_request_target. The overview’s title and short version speak about dangerous triggers in the plural, and about an organization policy that can turn them off. A reader who turns the plural into a claim that some other event receives the same December 2 default is reading past the changelog sentence. The dated default in the changelog is one event. The organization policy in the overview is the control the Foundation describes for turning dangerous triggers off across repositories, on the plan terms already stated. Those can both be true. They are not the same control, and they do not share a date on these pages.

Neither page says a workflow that only labels pull requests is automatically on the allow list. The intended-use sentence explains why GitHub built the trigger. The allow still has to be explicit, in an applicable policy, if you want the event to run after December 2. Automatic safety is not a status the pages grant.

Neither page gives a Python package version, a pip constraint, or a runtime pin. There is nothing to add to a requirements file for this change. The change is a GitHub Actions event policy on public repositories, plus the platform default that arrives on December 2 if that policy does not explicitly allow the event. A lockfile bump does not appear in either source as the defensive action.

The changelog label “Retired” is also easy to over-read. The page is dated November 2, 2026, and it is the page that moves enforcement to December 2, 2026. Retired, on that entry, is not a statement that the December 2 date has been withdrawn. The body still states the December 2 start. A reader who skips a Retired changelog entry because the label sounds finished will miss the date the Foundation’s November 18 overview is still pointing at.

The week the calendar still has

From November 25 to December 2 is seven days. Both brownouts listed on the changelog are over. The Foundation’s overview is a week old. The account post is a week old. None of those facts moves the enforcement date the changelog now prints.

What the two pages still assign as work, in that week, is concrete.

Open Insights, if you have not, and see which workflow runs the rule would block. The changelog names that view. It originally said to do it before November 9. The view is the discovery method the page gives. The brownout windows are not a second method you can still book. A warning on a run that still executes, which is what the page assigns to evaluate mode after each brownout, is a live signal if your public repository still uses the trigger. A missing warning is not, by itself, a statement that no file uses the event. The page says Insights shows which runs the rule would block. That is the check it names. It does not say a quiet week of ordinary pull_request traffic proves the other event is absent.

Decide which of the two changelog options you are taking. Keep the default block. Or explicitly allow pull_request_target in an applicable Actions event policy, and use workflow file targeting if only some workflow files depend on the event. “Depend” is the changelog’s word. A workflow whose job, in the overview’s intended-use sentence, never touches contributor code is the sort of chore the overview says the trigger was built for. That sentence does not complete the allow for you. The policy does.

If the repositories sit in an organization on a GitHub Team or Enterprise plan, the overview’s sequence is still available: set the policy up, check what it would block, then enforce it. One policy can cover every repository in the organization on those plans. If the repositories are on a Free plan, the overview assigns the same idea one repository at a time, and the changelog still lists public repositories on GitHub Free under the December 2 default. The per-repository path is slower. It is the path the overview prints for that plan. It is not a path that opts the repository out of the date.

If you run GitHub Enterprise Server, the changelog says this change does not apply there. A GHES estate is not finished, on that page, because a cloud organization flipped a policy. They are different products in the changelog’s last scope sentence. The overview’s organization advice can still be read as a choice a GHES admin might make. It is not the December 2 default the changelog withholds from that product.

If the repository is private or internal, the changelog says the default rule does not affect it. A public repository in the same organization is a different case. The page does not let the private exemption cover the public one. Python projects often keep a public repository next to a private one: the library is public, the release tooling or a docs preview is private, or the reverse. The changelog’s line follows visibility, not the project name. Each repository is in or out on its own visibility.

The Foundation’s own map is not a substitute for that check. The pypi organization is described as having the event policy set up. The python organization is described as still migrating a few remaining repositories before enabling the event policy. Your repository is not in those sentences unless it is in those organizations, and even then the python bullet does not name files. A dependency on CPython, or a publish path through PyPI, does not place your workflow file inside either bullet.

The Alpha-Omega page is where the overview says the rollout documentation lives. The docs link on the changelog is where that page says policies are configured. Neither link is a statement that your workflows have already been reviewed. Opening them is the next read if the policy click-path is what you still need. The decision those links sit under is already stated on the two pages this piece used: block by default on December 2 for public repositories in the named products, or an explicit allow for workflows that depend on the event.

December 2, 2026 is the date the changelog now gives for permanent enforcement. The previous date, November 2, 2026, is the date the same page says was the old schedule, and it is also the date on the changelog entry. The slip already happened. The brownouts already happened. The remaining published choice is the policy. Keep the block. Or write an explicit allow for workflows that depend on the event, scoped with workflow file targeting when the allow should not cover every file. The Foundation’s overview adds the organization sequence for teams that can set one policy, and the per-repository sequence for a Free plan, and it asks for the check before the enforce step. That is the work the pages still leave in the seven days before the date.

Spread The Article

Share this guide

Send this article to your network or keep a copy of the direct link.

X Facebook LinkedIn Reddit Telegram

Discussion

Leave a comment

No comments yet

Be the first to start the conversation.