π₯ just released a github action: `uppt` it aims to be a very simple, secure release workflow for maintainers that adheres to best security practices βͺ trusted, staged publishing on npmjs.com βͺ github environment protection βͺ generated release PR + changelog βͺ automatic release + publish on merge β¨
Post
π you can check it out at github.com/danielroe/uppt I have some ideas about what to do next β¦ but I would love your thoughts π
many thanks to @jviide.iki.fi for an early review and a couple of great ideas, including automatic pinning to the latest released sha in the README
github.com/danielroe/up... You are doing a lot in here, so I will only focus on this small part, but I want to call out that this is still *not* safe. There is no protection you can put on that action trigger that makes it safe for a workflow like this.
Yeah, some of our @expressjs.bsky.social TC did that training as well. And this is a good TLDR of my opposition. It would take me more time than I have to pull the specific workflow apart, but so far I havenβt been able to find a release from CI that I wasnβt able to find at least one weakness in.