This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
|||||||
git config user.email "gitea-bot@alexlebens.net"
|
git config user.email "gitea-bot@alexlebens.net"
|
||||||
|
|
||||||
echo ">> Checking if PR branch exists ..."
|
echo ">> Checking if PR branch exists ..."
|
||||||
git ls-remote --exit-code --heads origin "${BRANCH_NAME}" > /dev/null 2>&1 || true
|
git ls-remote --exit-code --heads origin "${BRANCH_NAME}" > /dev/null 2>&1
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo ">> Branch '${BRANCH_NAME}' exists, pulling changes ..."
|
echo ">> Branch '${BRANCH_NAME}' exists, pulling changes ..."
|
||||||
|
|||||||
Reference in New Issue
Block a user