Skip to content

fix: set a fallback git identity for the release tag - #6

Merged
sks merged 1 commit into
mainfrom
fix-release-git-identity
Nov 12, 2026
Merged

sks merged 1 commit into
mainfrom
fix-release-git-identity

Conversation

@sks

@sks sks commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Problem

Release run 43144797017 failed at the tagging step — everything before it (gate, semver tag discovery, v0.2.1 derivation, notes) worked:

fatal: empty ident name (for <runner@...>) not allowed   # git tag -a, exit 128

actions/checkout leaves no user.name/user.email configured. The earlier manual v0.2.0 cut only worked because the local machine had a git identity.

Fix

cut-release.sh sets a repo-local github-actions[bot] identity only when none is configured — manual local cuts keep the user's own identity:

if [ -z "$(git config user.email || true)" ]; then
  git config user.name "github-actions[bot]"
  git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
fi

Testing

  • bash -n clean; dry-run against main still derives v0.2.1 since v0.2.0
  • After merge I'll re-dispatch Release to confirm the full path (gate → derive → tag → push → v1 re-point → gh release)

The Release workflow failed on the tagging step: actions/checkout provides no
git committer identity, so "git tag -a" exits 128 ("empty ident name not
allowed"). Local cuts worked only because a user identity was configured.
Only fall back to github-actions[bot] when no identity is configured, so
manual local runs keep the user's own identity.
@sks
sks merged commit 73627da into main Nov 12, 2026
3 checks passed
@sks
sks deleted the fix-release-git-identity branch November 12, 2026 02:57
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