diff --git a/Library/Homebrew/style.rb b/Library/Homebrew/style.rb index 7aba5da465..fa6fd4bede 100644 --- a/Library/Homebrew/style.rb +++ b/Library/Homebrew/style.rb @@ -270,8 +270,10 @@ module Homebrew def self.run_actionlint(files) files = github_workflow_files if files.blank? + # the ignore is to avoid false positives in e.g. actions, homebrew-test-bot system actionlint, "-shellcheck", shellcheck, "-config-file", HOMEBREW_REPOSITORY/".github/actionlint.yaml", + "-ignore", "image: string; options: string", *files $CHILD_STATUS.success? end