File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ jobs:
146146
147147 git add data/reusables/code-scanning/codeql-query-tables
148148 git commit -m "Update CodeQL query tables"
149- git push origin $branchname
149+ git push -u origin $branchname
150150
151151 echo "Creating pull request..."
152152 gh pr create \
Original file line number Diff line number Diff line change @@ -91,13 +91,13 @@ jobs:
9191 branchname=codeql-cli-update-${{ steps.semmle-code.outputs.OPENAPI_COMMIT_SHA }}
9292
9393 branchCheckout=$(git checkout -b $branchname)
94- if [[! $? -eq 0 ]]; then
94+ if [[ ! $? -eq 0 ]]; then
9595 echo "Branch $branchname already exists in `github/docs-internal`. Exiting..."
9696 exit 0
9797 fi
9898 git add .
9999 git commit -m "Update CodeQL CLI data"
100- git push origin $branchname
100+ git push -u origin $branchname
101101
102102 echo "Creating pull request..."
103103 gh pr create \
You can’t perform that action at this time.
0 commit comments