We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b447f70 commit b79ea86Copy full SHA for b79ea86
.github/workflows/dbip_download.yml
@@ -49,7 +49,7 @@ jobs:
49
git config user.name "github-actions[bot]"
50
git config user.email "github-actions[bot]@users.noreply.github.com"
51
git fetch
52
- BRANCH=$(git ls-remote --heads 2>/dev/null | grep generated-source)
+ BRANCH="$(git ls-remote --exit-code --heads origin generated-source 2>/dev/null || true)"
53
if [[ "$BRANCH" == "" ]]
54
then
55
git checkout -B generated-source
0 commit comments