Skip to content

fix(release): run git-cliff via uvx and allow a manual re-cut - #434

Merged
ishandhanani merged 2 commits into
mainfrom
idhanani/release-fix-cliff
Sep 13, 2026
Merged

ishandhanani merged 2 commits into
mainfrom
idhanani/release-fix-cliff

Conversation

@ishandhanani

Copy link
Copy Markdown
Collaborator

Why

The first run of the new release pipeline (#430 merge, run 34786736507) died with startup_failure before any job ran: the repository's Actions policy is selected (GitHub-owned, verified creators, and an allowlist), and orhun/git-cliff-action is not allowed. No v2.0.0 was cut.

What

  • The release job runs uvx git-cliff==2.13.1 --config cliff.toml --latest --strip all --github-repo ... --output notes-body.md instead of the action. Same tool, same notes, no third-party action.
  • workflow_dispatch with bump (patch / minor / major) and build_binaries so a release can be re-cut from main by hand after a failure.

On merge

This PR touches release.yaml, which the workflow treats as a binary-affecting change, so both Rust binaries are rebuilt and report the new tag from --version.

BREAKING CHANGE: cuts the v2.0.0 release line. The breaking change itself landed in #407 (recipe schema 2, --bash removed) and its tag was lost to the failed run above; this merge produces the v2.0.0 tag that #430 was meant to.

The first run of the new release workflow failed at startup: this
repository's Actions policy allows only GitHub-owned, verified-creator, and
allowlisted actions, and orhun/git-cliff-action is not on the list. The
release job now runs git-cliff from PyPI through uvx (the same binary, no
third-party action), so nothing in the pipeline depends on the allowlist
beyond actions/* and astral-sh/setup-uv.

Also adds workflow_dispatch (bump: patch|minor|major, build_binaries) so a
release can be re-cut from the current main by hand after a failed run,
instead of needing another merge.
@ishandhanani
ishandhanani merged commit a28ef40 into main Sep 13, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant