From bb1bec2f9961aa1e586184be6db0652aea607bfc Mon Sep 17 00:00:00 2001 From: prombot Date: Fri, 16 Jul 2021 00:01:30 +0000 Subject: [PATCH] Update common Prometheus files 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