From dccd443e04dedd4dcb7fceb1258bb85dd96ed4fd Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 10 Feb 2025 23:33:40 +0100 Subject: [PATCH] Run yamllint with strict mode, fix issue (#33551) Previously yamllint would issue warnings for certain things, while still exiting with zero. Now warnings are treated like errors and will cause non-zero exit: ``` -s, --strict return non-zero exit code on warnings as well as errors ``` (cherry picked from commit b3302748fa2bed0265e4008a19f74d803fd2e244) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 75369dce35..0de2c33a12 100644 --- a/Makefile +++ b/Makefile @@ -534,7 +534,7 @@ lint-templates: .venv node_modules .PHONY: lint-yaml lint-yaml: .venv - @poetry run yamllint . + @poetry run yamllint -s . .PHONY: security-check security-check: