logoalt Hacker News

mulmboytoday at 12:57 AM1 replyview on HN

It does largely avoid the issue if you configure to allow only specific environments AND you require reviews before pushing/merging to branches in that environment.

https://docs.pypi.org/trusted-publishers/adding-a-publisher/

For a malicious version to be published would then require full merge which is a fairly high bar.

AWS allows similar


Replies

LtWorftoday at 1:17 AM

As we're seeing, properly configuring github actions is rather hard. By default force pushes are allowed on any branch.

show 1 reply