Skip to content
Snippets Groups Projects
Verified Commit 7821e759 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3422537 by bbrala, cmlara, dww, longwave, joachim: Autoresolve cspell...

Issue #3422537 by bbrala, cmlara, dww, longwave, joachim: Autoresolve cspell GIT_DEPTH issue when diff fails
parent 03dbcdc7
No related branches found
No related tags found
3 merge requests!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...,!8325Update file Sort.php
Pipeline #189830 passed
# cspell:ignore codequality Micheh micheh webide updatedb stylelintrc
# cspell:ignore codequality Micheh micheh webide updatedb stylelintrc unshallow
################
# Drupal GitLabCI template.
......@@ -466,6 +466,7 @@ default:
else
echo "HEAD is $(git rev-parse HEAD). \$CI_MERGE_REQUEST_DIFF_BASE_SHA is ${CI_MERGE_REQUEST_DIFF_BASE_SHA}";
fi;
- git diff ${CI_MERGE_REQUEST_TARGET_BRANCH_SHA:-$CI_MERGE_REQUEST_DIFF_BASE_SHA} --name-only 2>1 > /dev/null || (echo "Warning, cannot find changed files, converting to full clone." & (git fetch --unshallow --quiet && echo "Fetch successful."))
- git diff ${CI_MERGE_REQUEST_TARGET_BRANCH_SHA:-$CI_MERGE_REQUEST_DIFF_BASE_SHA} --name-only | sed "s_^_../_" | yarn --cwd=./core run -s spellcheck:core --no-must-find-files --file-list stdin
'📔 Validatable config':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment