Compare commits
2 Commits
c1898ba057
...
d52553dbb1
| Author | SHA1 | Date | |
|---|---|---|---|
|
d52553dbb1
|
|||
| b6551ef375 |
@@ -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