Skip to content
Brief Security & Trust ·

GitHub starts blocking pull_request_target in affected public repos

Workflows using the trigger now need an explicit policy to run, GitHub said on December 2.

In brief
  • GitHub Actions now blocks pull_request_target workflows by default in affected public repositories. A policy must explicitly allow them.
  • Private and internal repositories are not affected. Maintainers can check Policy insights for blocked runs.

GitHub said on Wednesday, December 2, 2026, that GitHub Actions now blocks pull_request_target workflows by default in affected public repositories. The block applies unless a GitHub Actions event policy clearly allows them. GitHub called its post a reminder of a change it first announced on November 2, and said the date did not move. The change covers public repositories on GitHub Free, GitHub Team and GitHub Enterprise Cloud.

GitHub said private and internal repositories are not affected. A policy that a maintainer has already set up still applies. GitHub's notice does not say how many repositories count as affected. It also does not say how GitHub decides which ones are affected. Maintainers can look in Policy insights to see blocked workflow runs. A policy can be limited to named workflow files.

GitHub said these workflows run in the context of the base repository, so they can reach its secrets. Running untrusted code from a fork in that setting can leak those secrets or compromise the build pipeline. Teams that run public repositories and accept fork pull requests may see some workflows stop. GitHub advises switching to a safer event such as pull_request where that fits. It says to allow pull_request_target only after confirming the workflow won't run untrusted code with secrets or a privileged token.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: GitHub.