diff --git a/Library/Homebrew/style.rb b/Library/Homebrew/style.rb index 4973081514..ada047d8e2 100644 --- a/Library/Homebrew/style.rb +++ b/Library/Homebrew/style.rb @@ -88,6 +88,7 @@ module Homebrew shfmt_result = files.present? && shell_files.empty? shfmt_result ||= run_shfmt(shell_files, fix:) + actionlint_files = github_workflow_files if files.blank? && actionlint_files.blank? has_actionlint_workflow = actionlint_files.any? do |path| path.to_s.end_with?("/.github/workflows/actionlint.yml") end