c12s-kubespray/tests/scripts/rebase.sh
2020-01-17 02:10:56 -08:00

10 lines
233 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
# 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"
git pull --rebase origin release-2.12
fi