mirror of
https://github.com/woocommerce/woocommerce.git
synced 2025-02-21 09:50:29 +08:00
Do a checkout of compared branches to ensure prepush checks work (#34706)
This commit is contained in:
parent
53b8213bd8
commit
8478993095
@ -31,4 +31,8 @@ if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ensure both branches are tracked or check-changelogger-use will fail.
|
||||
git checkout $PROTECTED_BRANCH --quiet
|
||||
git checkout $CURRENT_BRANCH --quiet
|
||||
|
||||
php tools/monorepo/check-changelogger-use.php $PROTECTED_BRANCH $CURRENT_BRANCH
|
||||
|
Loading…
Reference in New Issue
Block a user