diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8beac1d2f3afa78c5beecfbfc26625b1d7a2877d..60cea25d09a86be011881c20c1923ebdc71a9ac3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -# 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':