Skip to content

fix: use a lightweight tag so the release job needs no git identity - #19

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/14-release-lightweight-tag
Sep 3, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/14-release-lightweight-tag

Conversation

@Yash-Chindam

@Yash-Chindam Yash-Chindam commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Manually dispatched release.yml after PR fix: dispatch the release workflow after a trusted merge #18 merged to bootstrap the repo's first tag/release and verify the pipeline end-to-end. The bump logic worked correctly (computed v0.1.0), but git tag -a failed with "Committer identity unknown" — the runner has no user.name/user.email configured, and an annotated tag needs one.
  • Switches to a lightweight tag (git tag "$VERSION" "$RELEASE_SHA"), which needs no identity. The release notes already come from gh release create --generate-notes, so the annotated tag's -m message added nothing.
  • Verified locally: reproduced the exact failure with an annotated tag and no identity, confirmed a lightweight tag succeeds under the same conditions.
  • Nothing was left dangling from the failed run — it errored before git push, so no tag or release exists yet.

Test plan

  • ruff format --check .
  • ruff check .
  • YAML-validated release.yml
  • Reproduced the failure and the fix locally with a throwaway git repo and no configured identity
  • After this merges, dispatch release.yml again to confirm v0.1.0 is tagged and released

The runner has no configured git user.name/user.email, so an annotated
tag (git tag -a) failed with "Committer identity unknown" the first
time this ran. A lightweight tag needs no identity and the release
notes already come from --generate-notes, so the annotated tag's
message added nothing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions
github-actions Bot merged commit ab3f40c into main Sep 3, 2026
6 checks passed
@github-actions
github-actions Bot deleted the feat/14-release-lightweight-tag branch September 3, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant