Skip to content
Snippets Groups Projects
Verified Commit cdf03eab authored by Dave Long's avatar Dave Long
Browse files

Issue #3418207 by longwave, fjgarlin, acbramley, mondrake, neclimdul:...

Issue #3418207 by longwave, fjgarlin, acbramley, mondrake, neclimdul: Spell-checking job fails with "couldn't find remote ref refs/heads/11.x" when 11.x branch does not exist in fork
parent 66a4c78b
No related branches found
No related tags found
No related merge requests found
...@@ -411,6 +411,4 @@ default: ...@@ -411,6 +411,4 @@ default:
variables: variables:
KUBERNETES_CPU_REQUEST: "2" KUBERNETES_CPU_REQUEST: "2"
script: script:
- export TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH} - git diff $CI_MERGE_REQUEST_TARGET_BRANCH_SHA --name-only | sed "s_^_../_" | yarn --cwd=./core run -s spellcheck:core --no-must-find-files --file-list stdin
- git fetch -vn --depth=$GIT_DEPTH origin "+refs/heads/$TARGET_BRANCH:refs/heads/$TARGET_BRANCH"
- git diff $CI_MERGE_REQUEST_DIFF_BASE_SHA --name-only | sed "s_^_../_" | 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.
Finish editing this message first!
Please register or to comment