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)
|
||||
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
|
||||
fi
|
||||
git add .
|
||||
|
||||
Reference in New Issue
Block a user