diff --git a/script/build/sync_repo.sh b/script/build/sync_repo.sh index 1a6ea4ed6..698c78f68 100755 --- a/script/build/sync_repo.sh +++ b/script/build/sync_repo.sh @@ -9,6 +9,11 @@ if echo $CI_BUILD_REF_NAME | grep private; then exit 0 fi +if echo $CI_BUILD_REF_NAME | grep cherry-pick-; then + echo 'sync no cherry-pick branches' + exit 0 +fi + git checkout $CI_BUILD_REF_NAME if [ "$CI_BUILD_REF_NAME" != "$CI_BUILD_TAG" ]; then git pull --rebase origin $CI_BUILD_REF_NAME