Ignore all .git* for mardownlint (#7109)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
pull/7095/head
Etienne Champetier 2021-01-07 13:16:53 -05:00 committed by GitHub
parent 2585e72a30
commit 29f1c40580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ markdownlint:
before_script:
- npm install -g markdownlint-cli@0.22.0
script:
- markdownlint $(find . -name "*.md" | grep -v .github) --ignore docs/_sidebar.md --ignore contrib/dind/README.md
- markdownlint $(find . -name '*.md' | grep -vF './.git') --ignore docs/_sidebar.md --ignore contrib/dind/README.md
ci-matrix:
stage: unit-tests