What changed

GitHub began enforcing a default Actions policy that blocks pull_request_target events in public repositories unless an applicable workflow execution policy explicitly allows them. Private and internal repositories are not affected.

Why it matters

The trigger runs with base-repository context and can expose secrets when a workflow evaluates untrusted fork code; a platform default now removes that high-risk path unless maintainers deliberately restore it.

What to do

Review failed or warned workflows in Actions Insights. Keep the block unless a specific workflow is necessary, then allow only that file and prove it never checks out or executes fork-controlled code with secrets.

Caveat

The rule does not make every Actions workflow safe and maintainers can override it. The change applies to GitHub-hosted public repositories, not GitHub Enterprise Server or private and internal repositories.