Files
kubespray/tests/scripts/rebase.sh
Max Gautier 0c59cc84dd CI: simplify rebase.sh
With the base ref (aka: target branch) available, we don't need to guess
stuff from the branch name
2025-03-17 18:13:09 +01:00

7 lines
102 B
Bash
Executable File

#!/bin/sh
set -ex
if [ "${GITHUB_BASE_REF}" ]; then
git pull --rebase origin $GITHUB_BASE_REF
fi