GitHub APIBreaking changehigh

GitHub blocks pull_request_target by default in Actions on Dec 2, 2026

Detected
Nov 3, 2026
Effective
Dec 2, 2026(in 15 days)
Confidence
82%

What changed

GitHub Actions will block the pull_request_target event by default starting December 2, 2026. This is a security-driven behavioral change that will affect workflows currently relying on this trigger without explicit opt-in.

What to do

Audit all workflows using pull_request_target and explicitly configure them to opt in or migrate to safer alternatives before December 2, 2026.

Affected

param: pull_request_target

Source: github.blog (GitHub's own page, checked by Breakwatch)

Is your code affected?

Search your repositories for the GitHub SDK and the names above:

npm: @octokit/restnpm: @octokit/corenpm: octokitpip: PyGithubruby: octokitgo: github.com/google/go-githubphp: knplabs/github-apijava: org.kohsuke:github-apicsharp: Octokitrust: octocrab

Or let Breakwatch do it: connect a repo and see which files call GitHub, then get the next change as an alert pointing at those files. Check a repo free

Put it in your calendar: GitHub deadlines (.ics) or every vendor's.

Get GitHub API changes by email

Once a week: the breaking changes and upcoming deadlines for GitHub, each linked to the vendor's own page. Free, no account. One-click unsubscribe.

More GitHub API changes

Every GitHub API change →