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
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -411,6 +411,4 @@ default:
  variables:
    KUBERNETES_CPU_REQUEST: "2"
  script:
    - export TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}
    - 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
    - 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