You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π fix(ci): split release workflow for proper credential scoping (#158)
The post-release PR step in the release workflow fails with `fatal:
could not read Username` because `persist-credentials: false` was added
by the zizmor security audit (#154), but the step needs `git push`
access via `RELEASE_TOKEN`.
The fix splits the release workflow into two jobs. The `publish` job
keeps `persist-credentials: false` since it only needs to build and
publish β no git push. The `post-release` job also uses
`persist-credentials: false` but configures git auth via `remote
set-url` scoped to the single step that needs push access, with
`RELEASE_TOKEN` protected by the `release` environment.
The changelog patching is replicated in the post-release job so the
version bump PR includes the updated `CHANGELOG.md`, matching the
original behavior.
0 commit comments