diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 0faf31751fc62..8f0afbc0c1c6d 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -90,7 +90,7 @@ jobs: run: | apache_spark_ref=`git rev-parse HEAD` git fetch https://github.com/$GITHUB_REPOSITORY.git ${GITHUB_REF##*/} - git merge --progress --ff-only FETCH_HEAD + git merge --progress --squash FETCH_HEAD echo "::set-output name=APACHE_SPARK_REF::$apache_spark_ref" # Cache local repositories. Note that GitHub Actions cache has a 2G limit. - name: Cache Scala, SBT and Maven @@ -186,7 +186,7 @@ jobs: run: | apache_spark_ref=`git rev-parse HEAD` git fetch https://github.com/$GITHUB_REPOSITORY.git ${GITHUB_REF##*/} - git merge --progress --ff-only FETCH_HEAD + git merge --progress --squash FETCH_HEAD echo "::set-output name=APACHE_SPARK_REF::$apache_spark_ref" # Cache local repositories. Note that GitHub Actions cache has a 2G limit. - name: Cache Scala, SBT and Maven @@ -261,7 +261,7 @@ jobs: run: | apache_spark_ref=`git rev-parse HEAD` git fetch https://github.com/$GITHUB_REPOSITORY.git ${GITHUB_REF##*/} - git merge --progress --ff-only FETCH_HEAD + git merge --progress --squash FETCH_HEAD echo "::set-output name=APACHE_SPARK_REF::$apache_spark_ref" # Cache local repositories. Note that GitHub Actions cache has a 2G limit. - name: Cache Scala, SBT and Maven