Skip to content
Snippets Groups Projects
Commit 14141ec1 authored by Maxime Guyot's avatar Maxime Guyot Committed by Kubernetes Prow Robot
Browse files

Rebase only on PRs (#4861)

parent 5bec2eda
No related branches found
No related tags found
No related merge requests found
#!/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
if [[ $CI_COMMIT_REF_NAME == pr-* ]]; then
git config user.email "ci@kubespray.io" git config user.email "ci@kubespray.io"
git config user.name "CI" git config user.name "CI"
git pull --rebase origin master git pull --rebase origin master
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment