Fix bash command substitution bug in CodeQL sync workflow (#58272)
This commit is contained in:
2
.github/workflows/sync-codeql-cli.yml
vendored
2
.github/workflows/sync-codeql-cli.yml
vendored
@@ -92,7 +92,7 @@ jobs:
|
|||||||
|
|
||||||
branchCheckout=$(git checkout -b $branchname)
|
branchCheckout=$(git checkout -b $branchname)
|
||||||
if [[ ! $? -eq 0 ]]; then
|
if [[ ! $? -eq 0 ]]; then
|
||||||
echo "Branch $branchname already exists in `github/docs-internal`. Exiting..."
|
echo "Branch $branchname already exists in 'github/docs-internal'. Exiting..."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
git add .
|
git add .
|
||||||
|
|||||||
Reference in New Issue
Block a user