Maintenance: Don't sync dependabot CI MR branches to GitHub.

This commit is contained in:
Thorsten Eckel 2019-04-18 10:21:10 +02:00
parent f2592cb632
commit 7919f341ff

View file

@ -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