We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e7b1b6 commit 888b4ceCopy full SHA for 888b4ce
.github/workflows/update-from-template.yml
@@ -210,7 +210,7 @@ jobs:
210
211
echo "Checking if update-branch-merged exists"
212
git fetch
213
- if [[ $(git rev-parse origin/${{ env.UPDATE_BRANCH_MERGED }}) ]]; then
+ if [[ $(git ls-remote --heads origin refs/heads/${{ env.UPDATE_BRANCH_MERGED }}) ]]; then
214
echo "Branch still exists; Continuing..."
215
else
216
echo "Branch origin/${{ env.UPDATE_BRANCH_MERGED }} is missing"
0 commit comments