Skip to content

Commit

Permalink
Makefile: make the gitlint check ci friendlier
Browse files Browse the repository at this point in the history
Don't assume local branches exist, but do assume branches in origin.

Signed-off-by: John Mulligan <[email protected]>
  • Loading branch information
phlogistonjohn authored and mergify[bot] committed Apr 17, 2023
1 parent 47770c3 commit db8205f
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 @@ -228,7 +228,7 @@ check-gosec: gosec
$(GOSEC) -quiet -exclude=G101 -fmt json ./...

check-gitlint: gitlint
$(GITLINT) -C .gitlint --commits master.. lint
$(GITLINT) -C .gitlint --commits origin/master.. lint

# find or download auxiliary build tools
.PHONY: build-tools controller-gen kustomize revive golangci-lint yq
Expand Down

0 comments on commit db8205f

Please sign in to comment.