Published 1 December 2026 · Rathish Kumar, Invitty
From 2 December 2026, GitHub Actions blocks workflows triggered by pull_request_target in public repositories unless an Actions event policy explicitly allows the event. It applies to public repositories on GitHub Free, Team and Enterprise Cloud. Private and internal repositories, and GitHub Enterprise Server, are not affected. If you maintain public repositories, check the policy insights today and decide which workflows to allow.
What changes on 2 December?
GitHub added a default rule to its workflow execution protections. For any public repository that has no applicable Actions event policy of its own, the rule blocks runs triggered by pull_request_target. Since it was announced, the rule has run in evaluate mode: workflows still ran, and GitHub recorded which runs it would have stopped. Enforcement was first set for 2 November and then moved to 2 December.
GitHub tested the block twice, on 9 and 16 November between 16:00 and 18:00 UTC (21:30 to 23:30 IST). During those brownouts, blocked attempts showed up as failed runs with an error annotation. If a contributor complained about failed checks on one of those evenings, this is probably why. From 2 December the block is permanent for affected repositories.
One detail matters for teams that already tightened things up. The default rule does not replace an event policy you have configured yourself, so a repository with its own applicable policy keeps that policy.
Which repositories and plans are affected?
| Repository or plan | Effect from 2 December 2026 |
|---|---|
| Public repository on GitHub Free, Team or Enterprise Cloud, no event policy of its own | pull_request_target runs blocked by default |
| Public repository with an applicable Actions event policy already set | Your policy continues to apply |
| Private or internal repository | Not affected |
| GitHub Enterprise Server (self-hosted) | Not affected |
For most Indian companies we work with, the exposure sits in a handful of public repositories: an SDK, a documentation site, a plugin, or an open-source tool the engineering team publishes. Those are exactly the repositories that accept pull requests from forks, which is where this trigger is used.
Why GitHub is blocking the trigger
pull_request_target runs in the context of the base repository. The job gets the base repository's GITHUB_TOKEN and its repository and organisation secrets. That is safe as long as the workflow only runs trusted code from the default branch, for jobs such as labelling or posting comments on pull requests from outside contributors.
The trouble starts when a workflow checks out the fork's code and then builds or tests it. A contributor can put commands into a Makefile, test script or dependency, and those commands then run with your secrets. GitHub's documentation calls this a "pwn request". Socket's write-up links variations of it to supply chain incidents at Nx, PostHog and TanStack.
GitHub already closed the most common form of the mistake in June 2026. Since then actions/checkout v7 refuses to fetch fork pull request code in these workflows unless you add an opt-out input, and the change was backported to supported major versions. December goes further: the trigger itself is blocked, even in workflows that use it safely. Our view is that this is the right default. Most teams using the trigger did not need it.
What to do today, in order
- Find the workflows. Search your public repositories'
.github/workflowsfolders forpull_request_target. - Read the insights. Use the policy insights to see which runs the rule would block. A workflow that never shows up there has nothing to fix.
- Decide per workflow. If a workflow only labels, triages or comments, and never runs fork code, allow it explicitly in an Actions event policy. Use workflow file targeting so the exception covers that one file, not the whole repository.
- Move CI off the trigger. If the workflow builds or tests contributor code, switch it to
pull_request, which runs with a read-only token and no secrets. Tests that need a private registry should run only after a maintainer has reviewed the change. - Check the neighbours. The block covers only this trigger. An
issue_commentorworkflow_runworkflow that fetches and executes fork code is still a pwn request, and GitHub's documentation says so plainly.
What this means for GitHub buyers in India
Nothing changes in your licence, seat count or invoice. This is a security default, not a pricing change, and it does not touch private repositories, where most company code lives. Where it does matter is ownership. Every exception you add to an event policy is a standing security decision, so give each one a named owner and review it whenever the workflow file changes.
If you are comparing Enterprise Cloud with self-hosted Enterprise Server, note that this rule applies only to github.com, so Server administrators should review the same workflows by hand. The same goes for the container images and dependencies your pipelines pull: our container security work and Chainguard images cover the parts of the supply chain that sit outside GitHub's settings.
Next step
We supply GitHub Enterprise licences in India with GST invoicing, and we can review your Actions workflows and organisation policies as part of a CI/CD security check. Send us your plan and the public repositories you maintain, and we will tell you which workflows this change touches and what to do with each.
GitHub pull_request_target block: common questions
Does the pull_request_target block affect private repositories?
Does it apply to GitHub Enterprise Server?
Can we keep using pull_request_target after 2 December?
What happens to a blocked workflow?
Not sure if your repositories are affected? Send us your GitHub plan and the public repositories that use pull_request_target through our chat assistant, or use the form on this page. We will tell you whether this change applies to you and which workflows to update.
Sources
The dates and scope above come from these pages, read on 1 December 2026. GitHub can revise its changelog and documentation, so check them before you change a policy.
- GitHub Changelog: pull_request_target blocked by default December 2 (2 November 2026)
- GitHub Docs: Securely using pull_request_target
- GitHub Changelog: Safer pull_request_target defaults for GitHub Actions checkout (18 June 2026)
- Socket: GitHub to block pull_request_target workflows by default starting December 2 (5 November 2026)