GitHub Actions now blocks pull_request_target workflows by default in affected public repositories unless an event policy allows them
Enforcement began Wednesday, December 2, 2026. GitHub Actions now blocks pull_request_target workflows by default in affected public repositories unless an applicable Actions event policy explicitly allows them, a change GitHub first announced on November 2.
Why it matters
The trigger runs in the base repository's context and can access its secrets, so untrusted code from a fork could expose secrets or compromise the build pipeline. Private and internal repositories aren't affected, and any applicable event policy already configured still applies. The change covers public repositories on GitHub Free, GitHub Team and GitHub Enterprise Cloud.
Maintainers with workflows that respond to pull requests from forks should check Policy insights for blocked runs. Where possible, GitHub advises switching to a safer event such as pull_request. If a workflow truly needs pull_request_target, create or update an event policy that allows it, optionally scoped to specific workflow files, after confirming the workflow never runs untrusted pull request code with secrets or a privileged token. GitHub ran two brownouts, on November 9 and November 16, before permanent enforcement began.