Fix macOS install for Homebrew 6.0.0 tap trust requirement#265
Open
afinetooth wants to merge 1 commit into
Open
Fix macOS install for Homebrew 6.0.0 tap trust requirement#265afinetooth wants to merge 1 commit into
afinetooth wants to merge 1 commit into
Conversation
Homebrew 6.0.0 refuses to load formulae from untrusted third-party taps, so `brew tap coverallsapp/coveralls && brew install coveralls` now fails with "Refusing to load formula ... from untrusted tap". Installing via the fully-qualified formula name auto-taps the repo and trusts only this formula, non-interactively. It is also backwards compatible with Homebrew < 6, unlike `brew trust`, which does not exist on older versions. Fixes #264 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jun 11, 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
Homebrew 6.0.0 (released 2026-06-11) requires third-party taps to be explicitly trusted before their formulae are loaded (announcement, Tap Trust docs). The macOS install step previously ran:
which now fails on updated runners with:
Fixes #264
Fix
Install via the fully-qualified formula name instead:
A fully-qualified install auto-taps the repo and trusts only this formula, non-interactively — no separate
brew tapneeded. This is the approach recommended by the Tap Trust docs and the same fix ddev applied for the same break (ddev/ddev#8455).Why not
brew trust?brew trust coverallsapp/coverallsalso works, but the command doesn't exist on Homebrew < 6, so it would break runners that haven't updated yet. The fully-qualified install works on both old and new Homebrew.Workaround for users pinned to older action versions
🤖 Generated with Claude Code