We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cdaedb commit 3528648Copy full SHA for 3528648
.github/workflows/0-merge-beta.yaml
@@ -53,10 +53,11 @@ jobs:
53
MERGE_BRANCH="merge-${DATE}"
54
55
git fetch origin
56
- if ! git branch --remotes | grep -q "origin/${MERGE_BRANCH}"; then
57
- git checkout "origin/${MERGE_BRANCH}"
58
- else
+ git branch --remotes
+ if git branch --remotes | grep -q "origin/${MERGE_BRANCH}"; then
59
git checkout "${TARGET_BRANCH}"
+ else
60
+ git checkout "origin/${MERGE_BRANCH}"
61
fi
62
63
git checkout -b "${MERGE_BRANCH}"
0 commit comments