Skip to content

Commit b79ea86

Browse files
authored
Update dbip_download.yml
1 parent b447f70 commit b79ea86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dbip_download.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
git config user.name "github-actions[bot]"
5050
git config user.email "github-actions[bot]@users.noreply.github.com"
5151
git fetch
52-
BRANCH=$(git ls-remote --heads 2>/dev/null | grep generated-source)
52+
BRANCH="$(git ls-remote --exit-code --heads origin generated-source 2>/dev/null || true)"
5353
if [[ "$BRANCH" == "" ]]
5454
then
5555
git checkout -B generated-source

0 commit comments

Comments
 (0)