That's a great change by Github here. pull_request_target has been the source of numerous security incidents (see the examples listed in the blogpost), with little benefits to the user.
zizmor [0], a linter for GitHub Actions, flags it as part of its default audits. I would also recommend everyone to check the results of the default scan of zizmor on their project:
`pull_request_target` is being disabled by default on Dec 2:
> On December 2, 2026, GitHub will enforce the default policy for affected repositories that were using the default pull_request_target policy before general availability.
That's a great change by Github here. pull_request_target has been the source of numerous security incidents (see the examples listed in the blogpost), with little benefits to the user.
zizmor [0], a linter for GitHub Actions, flags it as part of its default audits. I would also recommend everyone to check the results of the default scan of zizmor on their project:
```
cd <my-project>
uvx zizmor .
```
[0] https://zizmor.sh/
`pull_request_target` is being disabled by default on Dec 2:
> On December 2, 2026, GitHub will enforce the default policy for affected repositories that were using the default pull_request_target policy before general availability.
https://docs.github.com/en/actions/reference/security/secure...
This needs to be locked down:
continue-on-error
> failure doesn't fail the whole workflow
Thus dev teams can and will use this so a failed security scan won't stop deployment to prod.
I think that having the same infrastructure for running tests, building, signing and publishing is a big mistake.
It causes daily hacks. Like this from last week. https://www.theregister.com/security/2026/11/18/microsofts-o...