Skip to content

Commit c7475d7

Browse files
authored
Merge pull request #23071 from Homebrew/test_bot-restrict-style-check
test_bot/formulae: only run `brew style` if deps are bottled
2 parents c34f097 + f82c156 commit c7475d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Library/Homebrew/test_bot/formulae.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ def portable_formula!(formula_name, args:)
915915
test "brew", "typecheck", "--update"
916916

917917
# Run the checks that gate a Homebrew/brew pull request.
918-
test "brew", "style"
918+
test "brew", "style" if %w[actionlint shellcheck shfmt].all? { |f| bottled?(Formulary.factory(f)) }
919919
test "brew", "typecheck"
920920
test "brew", "install-bundler-gems", "--groups=all"
921921
test "brew", "vendor-gems", "--non-bundler-gems", "--no-commit"

0 commit comments

Comments
 (0)