Skip to content

Commit

Permalink
chore: Fail the dependabot check if not a valid configuration (open-t…
Browse files Browse the repository at this point in the history
…elemetry#305)

* Update dependabot configuration

* Fail dependabot-check if not valid
  • Loading branch information
MrAlias authored Sep 19, 2023
1 parent 6819c56 commit 530cbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ verify-licenses: generate $(GOLICENSES)
DEPENDABOT_CONFIG = .github/dependabot.yml
.PHONY: dependabot-check
dependabot-check: | $(DBOTCONF)
@$(DBOTCONF) --ignore "/LICENSES" verify $(DEPENDABOT_CONFIG) || echo "(run: make dependabot-generate)"
@$(DBOTCONF) --ignore "/LICENSES" verify $(DEPENDABOT_CONFIG) || ( echo "(run: make dependabot-generate)"; exit 1 )

.PHONY: dependabot-generate
dependabot-generate: | $(DBOTCONF)
Expand Down

0 comments on commit 530cbe5

Please sign in to comment.