From 20eef740428e9c218cf8637d9b4f4d7e3f5d4d4f Mon Sep 17 00:00:00 2001 From: PrometheusBot Date: Sat, 24 Jul 2021 11:31:05 +0200 Subject: [PATCH] Update common Prometheus files (#892) Signed-off-by: prombot --- Makefile.common | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.common b/Makefile.common index bbdec8ef5..a1b1ca40f 100644 --- a/Makefile.common +++ b/Makefile.common @@ -201,7 +201,11 @@ endif .PHONY: common-yamllint common-yamllint: @echo ">> running yamllint on all YAML files in the repository" +ifeq (, $(shell which yamllint)) + @echo "yamllint not installed so skipping" +else yamllint . +endif # For backward-compatibility. .PHONY: common-staticcheck