Skip to content

Commit db8205f

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
Makefile: make the gitlint check ci friendlier
Don't assume local branches exist, but do assume branches in origin. Signed-off-by: John Mulligan <[email protected]>
1 parent 47770c3 commit db8205f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ check-gosec: gosec
228228
$(GOSEC) -quiet -exclude=G101 -fmt json ./...
229229

230230
check-gitlint: gitlint
231-
$(GITLINT) -C .gitlint --commits master.. lint
231+
$(GITLINT) -C .gitlint --commits origin/master.. lint
232232

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

0 commit comments

Comments
 (0)