Replies: 2 comments
This comment has been hidden.
This comment has been hidden.
|
First, very happy for this. We have a setup where there are semi-automated releases via release-please that sometimes fail. In the past, we had a second followup workflow that could be manually triggered to retry a failed publish from the same tag. In that scenario, I could see it being useful to have each workflow have its own stage/publish setting -- the release-please one could require staging in order to go through the normal release process. The manual override is meant to be interactive That said, I'd still much prefer some kind of 2FA during the trusted publishing process to obviate the need for staging. Having staged publishing is better than not, but it's still a lot of overhead for anyone maintaining dozens or hundreds of packages. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
👋 We're planning to add support for multiple OIDC configs per package this quarter — so you could publish the same package from more than one source. That might be different CI providers, or the same provider with different workflows (say, one workflow for releases and another for prereleases). Today it's one OIDC config per package.
We're still early enough that your feedback can shape it — and there's one design question we're leaning toward a specific answer on, but want to hear from you before we settle it.
What we're planning
Since May, packages have had a stage-or-publish setting for OIDC publishing — you choose whether automated publishing goes stage only (a maintainer approves before it goes live) or stage and publish directly.
With multiple configs on the horizon, we're leaning toward keeping that as a single setting per package: all of a package's OIDC configs would share the same stage/publish permission — you set it once for the package, not per config. It's simpler to reason about, and we think it covers the vast majority of setups.
Where we'd love your input
Would one stage/publish setting per package break your workflow?
That's exactly the kind of detail that would tell us whether the granular version is worth building.
Good to know
Thanks!
All reactions