fix(language/yaml): provide filename to actionlint linter

This commit is contained in:
Jim Myhrberg
2024-05-27 10:30:40 +01:00
parent fe47210ec8
commit 9e6ce1eaa8

View File

@@ -24,7 +24,7 @@ or *.yaml file in a .github/workflows/ directory."
(flycheck-def-executable-var yaml-actionlint "actionlint")
(flycheck-define-checker yaml-actionlint
"A GitHub Actions workflow checker using actionlint."
:command ("actionlint" "-oneline" "-")
:command ("actionlint" "-oneline" "-stdin-filename" source-original "-")
:standard-input t
:error-patterns
((error