logoalt Hacker News

De-fanging dangerous triggers in GitHub Actions across an organization

14 points • by miketheman • last Thursday at 1:52 PM • 7 comments • view on HN

Comments

david_allison • today at 8:23 AM

`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...

darkamaul • today at 9:27 AM

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/

speakspokespok • today at 9:31 AM

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.

➕ show 1 reply
LtWorf • today at 8:36 AM

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...

➕ show 1 reply
rohanucla • today at 7:55 AM

[flagged]