fix(release): configure git credentials for homebrew tap push - #38
Conversation
`gh auth setup-git` tells git to use GH_TOKEN as a credential helper, fixing the "could not read Username" error when pushing to homebrew-tap. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 WalkthroughAdded GitHub CLI authentication via Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Greptile SummaryFixes authentication error when pushing to homebrew-tap by adding
Confidence Score: 5/5
|
| Filename | Overview |
|---|---|
| .github/workflows/release.yml | Added gh auth setup-git before cloning homebrew-tap to configure git credentials for push operations |
Last reviewed commit: c24c5cb
Summary
gh auth setup-gitbefore cloning the homebrew-tap repo in the release workflowGH_TOKEN, fixing thefatal: could not read Usernameerror ongit pushgh repo clonesets up auth forghCLI but not for rawgitcommandsContext
The v0.2.13 release completed successfully (builds, GitHub release, crates.io publish) but the homebrew formula update failed: https://github.com/harmony-labs/meta/actions/runs/22258320387
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit