From 349627e3dd71dcdcb3a8d4a985c19bebaae5f336 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 13 Jun 2024 09:41:16 +0100 Subject: [PATCH] style: ignore actionlint false-positive. --- Library/Homebrew/style.rb | 2 ++ 1 file changed, 2 insertions(+) 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