You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
227 B

  1. #!/bin/bash
  2. set -euxo pipefail
  3. # Rebase PRs on master to get latest changes
  4. if [[ $CI_COMMIT_REF_NAME == pr-* ]]; then
  5. git config user.email "ci@kubespray.io"
  6. git config user.name "CI"
  7. git pull --rebase origin master
  8. fi