From 7bb3c9e57f64b8d8411efc7b01cf91e83dab9b9e Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 10 Feb 2025 20:24:55 +0100 Subject: [PATCH 1/2] Run yamllint with strict mode, fix issue --- .github/workflows/cron-licenses.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cron-licenses.yml b/.github/workflows/cron-licenses.yml index 7e57f48aa99c7..33cbc507d9677 100644 --- a/.github/workflows/cron-licenses.yml +++ b/.github/workflows/cron-licenses.yml @@ -1,8 +1,8 @@ name: cron-licenses on: - #schedule: - # - cron: "7 0 * * 1" # every Monday at 00:07 UTC + # schedule: + # - cron: "7 0 * * 1" # every Monday at 00:07 UTC workflow_dispatch: jobs: diff --git a/Makefile b/Makefile index 8a7855bd5ae04..3e4771a389818 100644 --- a/Makefile +++ b/Makefile @@ -393,7 +393,7 @@ lint-templates: .venv node_modules ## lint template files .PHONY: lint-yaml lint-yaml: .venv ## lint yaml files - @poetry run yamllint . + @poetry run yamllint --strict . .PHONY: watch watch: ## watch everything and continuously rebuild From 7d8450b45344d2afa22c976a4f64c527abe09d98 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 10 Feb 2025 20:27:19 +0100 Subject: [PATCH 2/2] use short form --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e4771a389818..8864a18c1a499 100644 --- a/Makefile +++ b/Makefile @@ -393,7 +393,7 @@ lint-templates: .venv node_modules ## lint template files .PHONY: lint-yaml lint-yaml: .venv ## lint yaml files - @poetry run yamllint --strict . + @poetry run yamllint -s . .PHONY: watch watch: ## watch everything and continuously rebuild