Menu

pull_request_target blocked: fix workflows by Dec 2
📰

pull_request_target blocked: fix workflows by Dec 2

DEV Community: github·Sascha Mirow-Stanitzok·10 days ago
#TbcmPlLr
#devtogithub#technology#devto#dev#github
Reading 0:00
15s threshold

From December 2, 2026, pull_request_target is blocked, at least in public repositories where nobody has set up a matching rule. GitHub announced the change on November 2 and pushed the date back by one month at the same time. That sounds like plenty of time. However, two trial runs in which the block is briefly enforced already take place on November 9 and 16.

I care about this because pull_request_target is one of those triggers almost everyone has copied from some example at some point without really knowing what it does. That is exactly why I think the block is the right call. In this article I show you how to find affected workflows, how to decide for each one, and what the safe alternatives look like in practice, including a small scanner written in TypeScript.

In short

In public repositories, pull_request_target is blocked by default from December 2, 2026, because the trigger can bring fork code and secrets together.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.