Skip to content

Commit

Permalink
Merge pull request #865 from JoelSpeed/override-template-lint-base
Browse files Browse the repository at this point in the history
Allow overriding the base commit for template linting when running locally
  • Loading branch information
openshift-ci[bot] authored Aug 11, 2021
2 parents 0e3c3a3 + c58d43d commit 721e6e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
##@ General

RUNTIME ?= podman # container command for linter and report-upload
PULL_BASE_SHA ?= origin/master # Allow the template check base ref to be overriden

.PHONY: help
help: ## Display this help
Expand All @@ -17,6 +18,7 @@ lint: ## run the markdown linter
--rm=true \
--env RUN_LOCAL=true \
--env VALIDATE_MARKDOWN=true \
--env PULL_BASE_SHA=$(PULL_BASE_SHA) \
-v $$(pwd):/workdir:Z \
enhancements-markdownlint:latest

Expand Down

0 comments on commit 721e6e5

Please sign in to comment.