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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-05 21:07:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-05 21:07:34 +0300
commit04af78083ec8cfabc6bba6604855b1c7c4de04f2 (patch)
treeb2c85abc260461a694dc00a379112f1b2ad6531d /lefthook.yml
parent63414b32fd0e75477285df4603e9f7b31dffa955 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lefthook.yml')
-rw-r--r--lefthook.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/lefthook.yml b/lefthook.yml
index c44ea8cdeab..44a4bd4eb67 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -1,5 +1,7 @@
pre-push:
parallel: true
+ skip:
+ - ref: master
commands:
danger:
run: bundle exec rake danger_local
@@ -48,18 +50,18 @@ pre-push:
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
glob: '{app/graphql/**/*.rb,ee/app/graphql/**/*.rb}'
run: bundle exec rake gitlab:graphql:check_docs
- vale: # Requires Vale: https://docs.gitlab.com/ee/development/documentation/testing.html#install-linters
+ vale: # Requires Vale: https://docs.gitlab.com/ee/development/documentation/testing.html#install-linters
tags: documentation style
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
glob: 'doc/*.md'
run: 'if [ $VALE_WARNINGS ]; then minWarnings=warning; else minWarnings=error; fi; if command -v vale > /dev/null 2>&1; then if ! vale --config .vale.ini --minAlertLevel $minWarnings {files}; then echo "ERROR: Fix any linting errors and make sure you are using the latest version of Vale."; exit 1; fi; else echo "ERROR: Vale not found. For more information, see https://docs.errata.ai/vale/install."; exit 1; fi'
gettext:
- skip: true # This is disabled by default. You can enable this check by adding skip: false in lefhook-local.yml https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md#skip
+ skip: true # This is disabled by default. You can enable this check by adding skip: false in lefhook-local.yml https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md#skip
tags: backend frontend view haml
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD | while read file;do git diff --unified=1 $(git merge-base origin/master HEAD)..HEAD $file | grep -Fqe '_(' && echo $file;done; true
- glob: "*.{haml,rb,js,vue}"
+ glob: '*.{haml,rb,js,vue}'
run: bin/rake gettext:updated_check
- docs-metadata: # See https://docs.gitlab.com/ee/development/documentation/#metadata
+ docs-metadata: # See https://docs.gitlab.com/ee/development/documentation/#metadata
tags: documentation style
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
glob: 'doc/*.md'