mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
Update sync-main.yml
This commit is contained in:
2
.github/workflows/sync-main.yml
vendored
2
.github/workflows/sync-main.yml
vendored
@@ -72,7 +72,7 @@ jobs:
|
||||
|
||||
echo "🔄 Waiting for branch '$BRANCH_NAME' to be visible on GitHub..."
|
||||
for (( i=1; i<=MAX_RETRIES; i++ )); do
|
||||
if gh api "repos/:owner/:repo/branches/$BRANCH_NAME" > /dev/null 2>&1; then
|
||||
if git ls-remote --exit-code origin "refs/heads/$BRANCH_NAME" > /dev/null 2>&1; then
|
||||
echo "✅ Branch is now visible on GitHub."
|
||||
break
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user