GitHub said that from Dec 2, 2026, GitHub Actions (its automation service) blocks pull_request_target workflows by default in affected public repositories, unless an applicable event policy explicitly allows them (GitHub Changelog).
- Nov 2GitHub announces Dec 2 as the enforcement date, replacing Nov 2
- Nov 9First temporary block, 16:00 to 18:00 UTC
- Nov 16Second temporary block, same hours
- Dec 2Enforcement begins
Who is affected
The change applies to affected public repositories on GitHub Free, GitHub Team and GitHub Enterprise Cloud (GitHub Changelog). GitHub Enterprise Server is not included (GitHub, Nov 2). Private and internal repositories are not affected, and an applicable event policy you already configured still applies (GitHub Changelog).
Why GitHub blocks it
pull_request_target starts a workflow for a pull request but runs it in the context of the base repository, the one receiving the change, with access to its secrets. If that workflow runs untrusted code from a fork (someone else’s copy of the project), it can expose those secrets or compromise the build pipeline (GitHub Changelog). GitHub’s docs call this a “pwn request” and note that npm install or npm run build can run an attacker’s code (GitHub Docs).
What to check
If your workflows respond to pull requests from forks, GitHub advises these steps (GitHub Changelog):
- Look in Policy insights for blocked workflow runs.
- Move affected workflows to a safer event, such as
pull_request, where appropriate. - If a workflow needs
pull_request_target, create or update an event policy that allows it. You can limit the policy to specific workflow files. - Before allowing it, confirm the workflow will not run untrusted pull request code with access to secrets or a privileged token.
Switching triggers does not cover every case. The docs say issue_comment or workflow_run workflows that fetch and run a fork’s code are vulnerable the same way (GitHub Docs).




