test_bot/formulae: only run brew style if deps are bottled#23071
Merged
Conversation
`brew style` needs to install Homebrew/core formulae to run, but portable Ruby PRs run on Tier 3 machines resulting in attempting to source build multiple formulae and failing. For now, skip `brew style` when bottles are not available (i.e. for macOS machines). We can consider splitting workflow to 2 separate runners if we want to test this, i.e. bottling on Tier 3 while running further tests on Tier 1.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adjusts Homebrew’s test-bot behavior for portable Ruby runs to avoid failing on Tier 3 macOS runners where brew style would otherwise trigger source builds of Homebrew/core formulae (due to missing bottles).
Changes:
- Gate
brew styleduringportable-rubyvalidation on whether theactionlint,shellcheck, andshfmtformulae are bottled for the current platform.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
19 tasks
carlocab
approved these changes
Jul 12, 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.
brew styleneeds to install Homebrew/core formulae to run, but portable Ruby PRs run on Tier 3 machines resulting in attempting to source build multiple formulae and failing.For now, skip
brew stylewhen bottles are not available (i.e. for macOS machines). We can consider splitting workflow to 2 separate runners if we want to test this, i.e. bottling on Tier 3 while running further tests on Tier 1.See https://github.com/Homebrew/homebrew-core/actions/runs/29198762997/job/86666911890?pr=292807#step:3:264
brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?