2019-04-24 08:38:01 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
|
2020-05-25 09:43:11 +00:00
|
|
|
# Rebase PRs on release-2.13 to get latest changes
|
2019-06-10 18:17:05 +00:00
|
|
|
if [[ $CI_COMMIT_REF_NAME == pr-* ]]; then
|
|
|
|
git config user.email "ci@kubespray.io"
|
|
|
|
git config user.name "CI"
|
2020-05-25 09:43:11 +00:00
|
|
|
git pull --rebase origin release-2.13
|
2019-06-10 18:17:05 +00:00
|
|
|
fi
|