mirror of
https://github.com/containers/podman.git
synced 2025-05-21 00:56:36 +08:00
Limit git-validation to 'short-subject'
This tool sometimes throws nonsensical or difficult to debug errors. Verifying DCO and white-space issues in commits has long since been moved to other tools (github-actions and git pre-commit hooks). There's no need to duplicate these checks with the git-validation tool. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -258,7 +258,7 @@ help: ## (Default) Print listing of key targets with their descriptions
|
||||
.PHONY: .gitvalidation
|
||||
.gitvalidation:
|
||||
@echo "Validating vs commit '$(call err_if_empty,EPOCH_TEST_COMMIT)'"
|
||||
GIT_CHECK_EXCLUDE="./vendor:./test/tools/vendor:docs/make.bat:test/buildah-bud/buildah-tests.diff:test/e2e/quadlet/remap-keep-id2.container" ./test/tools/build/git-validation -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..$(HEAD)
|
||||
GIT_CHECK_EXCLUDE="./vendor:./test/tools/vendor:docs/make.bat:test/buildah-bud/buildah-tests.diff:test/e2e/quadlet/remap-keep-id2.container" ./test/tools/build/git-validation -run short-subject -range $(EPOCH_TEST_COMMIT)..$(HEAD)
|
||||
|
||||
.PHONY: lint
|
||||
lint: golangci-lint
|
||||
|
Reference in New Issue
Block a user