CI: use PR repo instead of main repo when checking out branches. (https://github.com/woocommerce/woocommerce-admin/pull/3512)
This commit is contained in:
parent
af5022c3d1
commit
a44efefbd6
|
@ -191,7 +191,7 @@ install_deps() {
|
|||
BRANCH="$(sed 's/#/%23/' <<<$BRANCH)"
|
||||
# Checkout plugin via Git so all files are gathered.
|
||||
cd "$WP_CORE_DIR/wp-content/plugins"
|
||||
git clone https://github.com/woocommerce/woocommerce-admin.git
|
||||
git clone https://github.com/$REPO.git
|
||||
cd woocommerce-admin
|
||||
git fetch origin $BRANCH
|
||||
git checkout -B $BRANCH origin/$BRANCH
|
||||
|
|
Loading…
Reference in New Issue