Skip to content

fix: configure git identity before sampo publish in release workflow#81

Merged
marandaneto merged 1 commit intomainfrom
fix/release-git-identity
Mar 20, 2026
Merged

fix: configure git identity before sampo publish in release workflow#81
marandaneto merged 1 commit intomainfrom
fix/release-git-identity

Conversation

@marandaneto
Copy link
Copy Markdown
Member

Problem

The release workflow failed when sampo publish tried to create a git tag for posthog-rs@0.4.6. The runner had no git identity configured (user.name/user.email), causing git tag to fail with:

fatal: empty ident name ... not allowed

This happened because the commit step uses ghcommit-action (GitHub API), which doesn't need local git config. But sampo publish creates tags via the local git CLI, which does.

Changes

  • Added a "Configure git identity" step before sampo publish that sets user.name and user.email to the releaser bot identity.
  • Also includes CHANGELOG cleanup (removing duplicate entries) and existing changeset.

Checklist

  • Changeset added

@marandaneto marandaneto requested review from a team and Piccirello March 20, 2026 08:26

- [8164dfa](https://github.com/posthog/posthog-rs/commit/8164dfaab613db7df3b3d1b3fa4f940866225454) Sign commits during release process — Thanks @Piccirello!

## 0.4.5 — 2026-03-19
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those failed

@marandaneto marandaneto enabled auto-merge March 20, 2026 08:27
@marandaneto marandaneto merged commit 5d017d4 into main Mar 20, 2026
10 checks passed
@marandaneto marandaneto deleted the fix/release-git-identity branch March 20, 2026 08:30
@Piccirello
Copy link
Copy Markdown
Member

Thank you! This is finally fixed 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants