mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-26 07:26:09 -03:30
* Rebase only on PRs (#4861) * Rebase from release-2.10 branch instead of master
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d53782a7f1
commit
147ea54374
@@ -1,7 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
# Rebase on master to get latest changes
|
# Rebase PRs on master to get latest changes
|
||||||
git config user.email "ci@kubespray.io"
|
if [[ $CI_COMMIT_REF_NAME == pr-* ]]; then
|
||||||
git config user.name "CI"
|
git config user.email "ci@kubespray.io"
|
||||||
git pull --rebase origin master
|
git config user.name "CI"
|
||||||
|
git pull --rebase origin release-2.10
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user