Software and Cloud

GitHub Actions will block pull_request_target events by default from 2 December: Public repositories will be affected

Software code on a laptop screen
Image: divinetechygirl / Pexels

GitHub announced that pull_request_target workflow events in Actions will be blocked by default as of 2 December 2026. A workflow will be able to run only if a valid Actions event policy explicitly allows it.

The change affects public repositories on GitHub Free, GitHub Team and GitHub Enterprise Cloud. GitHub Enterprise Server and private and internal repositories remain out of scope.

According to GitHub’s explanation, pull_request_target runs in the context of the base repository and has access to the repository’s secrets. A workflow that runs untrusted fork code can therefore put a pipeline at risk or lead to secrets being exposed.

The rule started in evaluation mode, which shows which workflow runs it will block. GitHub envisions that users with workflows depending on this event will identify the affected runs in the Insights section and, if necessary, explicitly allow the event in an Actions event policy. Workflow file targeting can be used to allow specific workflows.

Source: GitHub.

News date: 30 November 2026