GitHub Actions now blocks pull_request_target workflows by default in public repositories
Since December 2, 2026, GitHub Actions has blocked workflows triggered by pull_request_target in affected public repositories, unless an event policy explicitly allows them. The trigger runs with the base repository's secrets, so code from a fork can expose them or compromise the build pipeline. Private and internal repositories are not affected, and GitHub Enterprise Server is outside the change. Maintainers who still need the trigger have to allow it explicitly, and can limit the exception to specific workflow files.
Source
pull_request_target enforcement begins December 2GitHub Changelog: Copilot · Original published December 2, 2026
GitHub has started enforcing a default block on one of the riskiest triggers in GitHub Actions. From December 2, 2026, workflows that start on the pull_request_target event no longer run in affected public repositories unless an applicable Actions event policy allows them. Enforcement was originally scheduled for November 2, 2026, and GitHub confirmed on December 2 that the new date had not moved.
Why GitHub blocks the trigger
A fork is a copy of a repository that an outside contributor makes and then submits a pull request from. A workflow on pull_request_target runs in the context of the base repository and can access its secrets, even when the pull request comes from a fork. If that workflow executes untrusted code from the fork, GitHub warns, the code can expose the secrets or compromise the build pipeline. For most such workflows GitHub points to pull_request as the safer event.
Who is affected
The block applies to affected public repositories on GitHub Free, GitHub Team, and GitHub Enterprise Cloud. Private and internal repositories are not affected, GitHub Enterprise Server is not included, and an event policy a repository has already configured keeps applying.
GitHub prepared maintainers in stages. The default rule first ran in evaluate mode, which only reported the runs it would block. GitHub then enforced it temporarily in two windows, on November 9, 2026, and November 16, 2026, both from 16:00 to 18:00 UTC. Blocked runs in those windows failed with an error annotation.
What maintainers need to do
GitHub asks maintainers of workflows that respond to pull requests from forks to check Policy insights for blocked runs. Where possible, the workflow should move to pull_request. If it really needs pull_request_target, the maintainer has to create or update an Actions event policy that allows it, and that policy can be scoped to specific workflow files.
GitHub states the condition for that exception plainly. The event should be allowed only after confirming that the workflow does not execute untrusted pull request code with access to secrets or a privileged token.
Sources
Once a week, in your inbox
The whole week's news, gathered into one email. No ads, no passing your address on, one-click unsubscribe.
The address is used only for this roundup. It is not sold and not passed to anyone.
Related
GitHub Copilot code review can now flag vulnerable dependencies and unusual licenses
GitHub added two optional scans to Copilot code review on December 3, 2026. When a pull request adds or updates a package, Copilot can comment on known vulnerabilities and on licenses outside a common open source set. Both scans are in public preview, are off by default, and count toward the AI credits a review uses. GitHub also added 17 connectors to Copilot and made server-to-server authentication generally available.
GitHubverified

Gemini API lets agents change system instructions and tools mid-conversation without losing the prompt cache
Google's Gemini API can now take new system instructions and tool changes partway through a conversation, through a new step type in the Interactions API. Until now, changing either one invalidated the prompt cache, so the model reprocessed the entire history at extra cost and with extra latency. The new step has the same authority as the original system instruction, and earlier turns stay cached. The feature is in public preview for all Gemini 4 models, has no separate fee, and does not yet cover tools from MCP servers.
Googleverified
Next.js 16.5 compiles about four times faster in Vercel's benchmark and adds experimental Go routes
Next.js 16.5, released on December 2, 2026, cut cold compile time for Vercel's dashboard from 183 to 44 seconds in the company's own benchmark. Cached functions can now keep their entries across deployments, and a coding agent can upgrade an app on a schedule from GitHub Actions. Go route handlers and a Go-based production server arrive as experiments. The security fixes due on December 15 will ship only on the 16.5.x line.
Next.js Blogverified
