c12s-kubespray/tests/scripts/rebase.sh

10 lines
233 B
Bash
Raw Normal View History

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