1
0
mirror of https://github.com/regclient/regclient.git synced 2025-04-18 22:44:00 +03:00

Fix checking of markdown lint

The unquoted `**/*.md` may get expanded by the shell.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
This commit is contained in:
Brandon Mitchell 2023-09-18 19:32:53 -04:00
parent f441235a93
commit 2fd02fb376
No known key found for this signature in database
GPG Key ID: 6E0FF28C767A8BEE
2 changed files with 3 additions and 1 deletions

View File

@ -30,3 +30,5 @@ See [DCO missing](https://github.com/src-d/guide/blob/master/developer-community
- [ ] Documentation has been added, updated, or not applicable
- [ ] Changes have been rebased to main
- [ ] Multiple commits to the same code have been squashed
<!-- markdownlint-disable-file MD041 -->

View File

@ -67,7 +67,7 @@ lint-go: $(GOPATH)/bin/staticcheck .FORCE ## Run linting for Go
.PHONY: lint-md
lint-md: .FORCE ## Run linting for markdown
docker run --rm -v "$(PWD):/workdir:ro" davidanson/markdownlint-cli2:$(MARKDOWN_LINT_VER) \
**/*.md "#vendor"
"**/*.md" "#vendor"
.PHONY: vulnerability-scan
vulnerability-scan: osv-scanner vulncheck-go ## Run all vulnerability scanners