Skip to content

fix: authenticate Homebrew tap Git operations - #16

Merged
robjtede merged 1 commit into
mainfrom
fix/homebrew-app-token-auth
Aug 9, 2026
Merged

fix: authenticate Homebrew tap Git operations#16
robjtede merged 1 commit into
mainfrom
fix/homebrew-app-token-auth

Conversation

@robjtede

@robjtede robjtede commented Aug 9, 2026

Copy link
Copy Markdown
Member

The Homebrew updater previously called gh auth setup-git, but Git could still select an existing Actions credential. The tap push then ran as github-actions[bot] instead of the GitHub App and failed with HTTP 403.

This change resets Git's configured credential helpers for each remote tap operation and explicitly uses gh auth git-credential. That helper reads the updater's GH_TOKEN, so clone, branch lookup, fetch, and push all use the intended GitHub App installation token.

The release-tool fixture now rejects Homebrew branch pushes that do not include the explicit helper configuration.

Validation: just check.

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 677ad8d5-7cba-41fc-ab67-40c8b4a671ba

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@robjtede
robjtede marked this pull request as ready for review August 9, 2026 18:02
@robjtede
robjtede merged commit ab12f8a into main Aug 9, 2026
3 checks passed
@robjtede
robjtede deleted the fix/homebrew-app-token-auth branch August 9, 2026 18:02
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