Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2020-05-11 07:11:53 +0300
committerEvan Read <eread@gitlab.com>2020-05-11 07:11:53 +0300
commit6f58aaa94cce60d2deca97262a6934733efd77d6 (patch)
tree465fbe09d1cc65e071eda49ec54496ad9a0e684f /dockerfiles
parent2930823fb650afd6070ac0b56e7cc7a15a870538 (diff)
Pin markdownlint cli version
Diffstat (limited to 'dockerfiles')
-rw-r--r--dockerfiles/Dockerfile.gitlab-docs-lint3
1 files changed, 2 insertions, 1 deletions
diff --git a/dockerfiles/Dockerfile.gitlab-docs-lint b/dockerfiles/Dockerfile.gitlab-docs-lint
index 6ad76b7c..c5134e0b 100644
--- a/dockerfiles/Dockerfile.gitlab-docs-lint
+++ b/dockerfiles/Dockerfile.gitlab-docs-lint
@@ -34,7 +34,8 @@ ENV CI_COMMIT_REF_NAME ${CI_COMMIT_REF_NAME:-master}
WORKDIR /tmp
-RUN yarn global add markdownlint-cli && yarn cache clean
+# markdownlint-cli pinned to 0.22 because 0.23 generates false positives.
+RUN yarn global add markdownlint-cli@0.22.0 && yarn cache clean
RUN wget https://gitlab.com/gitlab-org/gitlab-docs/-/archive/$CI_COMMIT_REF_NAME/gitlab-docs-$CI_COMMIT_REF_NAME.tar.bz2 \
&& tar xvjf gitlab-docs-$CI_COMMIT_REF_NAME.tar.bz2 \