From 7919f341ff10ce42e9739552661bc81034c4c7ec Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 18 Apr 2019 10:21:10 +0200 Subject: [PATCH] Maintenance: Don't sync dependabot CI MR branches to GitHub. --- script/build/sync_repo.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/build/sync_repo.sh b/script/build/sync_repo.sh index 698c78f68..997396359 100755 --- a/script/build/sync_repo.sh +++ b/script/build/sync_repo.sh @@ -14,6 +14,11 @@ if echo $CI_BUILD_REF_NAME | grep cherry-pick-; then exit 0 fi +if echo $CI_BUILD_REF_NAME | grep dependabot/; then + echo 'sync no dependabot 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