From 41cd6a136f95b3350f5ae895532cc58c943d1a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Fri, 30 Jun 2023 13:05:35 +0200 Subject: [PATCH] Fix dependabot-check and vanity-import-check targets (#4273) --- .github/dependabot.yml | 9 +++++++++ Makefile | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8dcd4f9dd90..08b13a0543f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -307,3 +307,12 @@ updates: schedule: interval: weekly day: sunday + - package-ecosystem: pip + directory: / + labels: + - dependencies + - python + - Skip Changelog + schedule: + interval: weekly + day: sunday diff --git a/Makefile b/Makefile index dc22bb77cb5..87b9211dbd0 100644 --- a/Makefile +++ b/Makefile @@ -214,7 +214,7 @@ lint: misspell lint-modules golangci-lint .PHONY: vanity-import-check vanity-import-check: | $(PORTO) - @$(PORTO) --include-internal -l . || echo "(run: make vanity-import-fix)" + @$(PORTO) --include-internal -l . || ( echo "(run: make vanity-import-fix)"; exit 1 ) .PHONY: misspell misspell: | $(MISSPELL) @@ -237,7 +237,7 @@ license-check: DEPENDABOT_CONFIG = .github/dependabot.yml .PHONY: dependabot-check dependabot-check: | $(DBOTCONF) - @$(DBOTCONF) verify $(DEPENDABOT_CONFIG) || echo "(run: make dependabot-generate)" + @$(DBOTCONF) verify $(DEPENDABOT_CONFIG) || ( echo "(run: make dependabot-generate)"; exit 1 ) .PHONY: dependabot-generate dependabot-generate: | $(DBOTCONF)