Skip to content
Snippets Groups Projects
Commit b00fcb31 authored by Adam Bramley's avatar Adam Bramley
Browse files

Revert ci changes

parent f432e2f3
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ variables:
# Let composer know what self.version means.
COMPOSER_ROOT_VERSION: "${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}-dev"
CONCURRENCY: 24
GIT_DEPTH: "50"
GIT_DEPTH: "3"
PARENT_PIPELINE_ID: $CI_PIPELINE_ID
_TARGET_PHP: "8.2"
......@@ -413,5 +413,5 @@ default:
script:
- export TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}
- git fetch -vn --depth=$GIT_DEPTH "${CI_MERGE_REQUEST_PROJECT_URL:-origin}" "+refs/heads/$TARGET_BRANCH:refs/heads/$TARGET_BRANCH"
- export MODIFIED=`git diff $CI_MERGE_REQUEST_DIFF_BASE_SHA --name-only|while read r;do echo "$CI_PROJECT_DIR/$r";done|tr "\n" " "`
- export MODIFIED=`git diff --name-only refs/heads/$TARGET_BRANCH|while read r;do echo "$CI_PROJECT_DIR/$r";done|tr "\n" " "`
- echo $MODIFIED | tr ' ' '\n' | yarn --cwd=./core run -s spellcheck:core --no-must-find-files --file-list stdin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment