Issue #3401971 by fjgarlin: Test-only job shouldn't require constant rebases to detect which files were changed
(cherry picked from commit b90362e815
)
merge-requests/5508/head
parent
19acc1d599
commit
0f92317d08
|
@ -131,7 +131,7 @@ variables:
|
|||
- <<: *with-chrome
|
||||
script:
|
||||
- export TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}
|
||||
- git fetch -vn --depth=3 "$CI_MERGE_REQUEST_PROJECT_URL" "+refs/heads/$TARGET_BRANCH:refs/heads/$TARGET_BRANCH"
|
||||
- git fetch -vn --depth=50 "$CI_MERGE_REQUEST_PROJECT_URL" "+refs/heads/$TARGET_BRANCH:refs/heads/$TARGET_BRANCH"
|
||||
- |
|
||||
echo "ℹ️ Changes from ${TARGET_BRANCH}"
|
||||
git diff ${CI_MERGE_REQUEST_DIFF_BASE_SHA} --name-only
|
||||
|
|
Loading…
Reference in New Issue