ci: fix homebrew publish — drop --fork-org (gittools-bot is a user) - #5005
Merged
Conversation
…n org) The Publish to Homebrew run failed with "Unable to fork: 'gittools-bot' is the login for a user account. You must pass the login for an organization account." brew bump-formula-pr --fork-org requires an organization login, but the publish authenticates as the gittools-bot user. Omitting the flag makes brew fork to the authenticated user (gittools-bot/homebrew-core) — the same target push-to used. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
Thank you @arturcic for your contribution! |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the Publish to Homebrew GitHub Actions workflow by removing an invalid brew bump-formula-pr flag (--fork-org gittools-bot) that causes the run to fail because gittools-bot is a user account (not an organization). This keeps the intended behavior—forking Homebrew/homebrew-core to the authenticated user—while avoiding the hard failure introduced in the prior migration to brew bump-formula-pr.
Changes:
- Remove
--fork-org gittools-botfrom thebrew bump-formula-prinvocation to prevent forking errors. - Add an inline comment documenting why
--fork-orgis intentionally omitted and what behavior is expected instead.
|
This was referenced Jul 3, 2026
This was referenced Jul 13, 2026
This was referenced Jul 20, 2026
This was referenced Aug 1, 2026
This was referenced Aug 10, 2026
This was referenced Aug 19, 2026
This was referenced Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
The Publish to Homebrew run after #5004 failed:
brew bump-formula-pr --fork-orgrequires an organization login, butgittools-botis a user account (gh api users/gittools-bot→"type": "User"), and the publish authenticates as that user.Fix
Drop
--fork-org gittools-bot. With no--fork-org,brew bump-formula-prforksHomebrew/homebrew-coreto the authenticated user — i.e.gittools-bot/homebrew-core, the exact fork the previousmislavaction targeted viapush-to. No behavioural change beyond removing the invalid flag.Follow-up to #5004.
🤖 Generated with Claude Code