Skip to content

Commit a5cac3b

Browse files
authored
switch to checking branch on remote
1 parent 59e16a5 commit a5cac3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if [ -z "$(git status --porcelain)" ]; then
4242
echo "no changes detected"
4343
else
44-
if [ -z "$(git branch --list version-updates)" ]; then
44+
if [ -z "$(git ls-remote --heads origin version-updates)" ]; then
4545
echo "no branch version-updates, creating"
4646
git checkout -b version-updates
4747
else

0 commit comments

Comments
 (0)