Maintenance: Don't sync dependabot CI MR branches to GitHub.
This commit is contained in:
parent
f2592cb632
commit
7919f341ff
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ if echo $CI_BUILD_REF_NAME | grep cherry-pick-; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if echo $CI_BUILD_REF_NAME | grep dependabot/; then
|
||||||
|
echo 'sync no dependabot branches'
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
git checkout $CI_BUILD_REF_NAME
|
git checkout $CI_BUILD_REF_NAME
|
||||||
if [ "$CI_BUILD_REF_NAME" != "$CI_BUILD_TAG" ]; then
|
if [ "$CI_BUILD_REF_NAME" != "$CI_BUILD_TAG" ]; then
|
||||||
git pull --rebase origin $CI_BUILD_REF_NAME
|
git pull --rebase origin $CI_BUILD_REF_NAME
|
||||||
|
|
Loading…
Reference in a new issue