summaryrefslogtreecommitdiff
path: root/lefthook.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-08 15:08:15 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-08 15:08:15 +0000
commite18e22ce4c7a4ee0680adda25e4cfa9cf4bb1be4 (patch)
treead5cdd2a994e9ae4627330769eb5004f49d6f435 /lefthook.yml
parentcdda3d117c99cadf295f26abc92cb2456033b762 (diff)
downloadgitlab-ce-e18e22ce4c7a4ee0680adda25e4cfa9cf4bb1be4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lefthook.yml')
-rw-r--r--lefthook.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/lefthook.yml b/lefthook.yml
index ff57725dac6..161ce0b5155 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -18,6 +18,11 @@ pre-push:
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
glob: 'doc/*.md'
run: yarn markdownlint {files}
+ yamllint:
+ tags: backend style
+ files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
+ glob: '*.{yml,yaml}'
+ run: scripts/lint-yaml.sh {files}
stylelint:
tags: stylesheet css style
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD