mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
style: ignore actionlint false-positive.
This commit is contained in:
parent
9e863aa4a9
commit
349627e3dd
@ -270,8 +270,10 @@ module Homebrew
|
|||||||
|
|
||||||
def self.run_actionlint(files)
|
def self.run_actionlint(files)
|
||||||
files = github_workflow_files if files.blank?
|
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,
|
system actionlint, "-shellcheck", shellcheck,
|
||||||
"-config-file", HOMEBREW_REPOSITORY/".github/actionlint.yaml",
|
"-config-file", HOMEBREW_REPOSITORY/".github/actionlint.yaml",
|
||||||
|
"-ignore", "image: string; options: string",
|
||||||
*files
|
*files
|
||||||
$CHILD_STATUS.success?
|
$CHILD_STATUS.success?
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user