diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-10 18:09:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-10 18:09:02 +0000 |
commit | 577bb49691b11bc8ebae3a4966153ed39af60d87 (patch) | |
tree | c34970de0f1fc58463448da0f34be13a2f3f47f9 /lefthook.yml | |
parent | 6cffe9ea21d0974ebd3c544a3b711ffcd35649e2 (diff) | |
download | gitlab-ce-577bb49691b11bc8ebae3a4966153ed39af60d87.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lefthook.yml')
-rw-r--r-- | lefthook.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lefthook.yml b/lefthook.yml index 5e307f9af30..3469cd9bddf 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -16,7 +16,7 @@ pre-push: markdownlint: tags: documentation style files: git diff --name-only $(git merge-base origin/master HEAD)..HEAD - glob: "*.md" + glob: "doc/*.md" run: yarn markdownlint {files} scss-lint: tags: stylesheet css style @@ -32,5 +32,5 @@ pre-push: vale: # Requires Vale: https://docs.gitlab.com/ee/development/documentation/#install-linters tags: documentation style files: git diff --name-only $(git merge-base origin/master HEAD)..HEAD - glob: "*.md" + glob: "doc/*.md" run: if command -v vale 2> /dev/null; then vale --config .vale.ini --minAlertLevel error {files}; else echo "Vale not found. Install Vale"; fi |