diff --git a/.github/workflows/sync-together-ai-models.yml b/.github/workflows/sync-together-ai-models.yml index eca9ad7c968..f1a8a841d0f 100644 --- a/.github/workflows/sync-together-ai-models.yml +++ b/.github/workflows/sync-together-ai-models.yml @@ -25,7 +25,7 @@ jobs: - name: Look for an already-open sync PR id: existing run: | - open_pr="$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --json headRefName \ + open_pr="$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --limit 1000 --json headRefName \ --jq '[.[].headRefName | select(startswith("litellm_together_registry_sync_"))] | first // empty')" echo "open_pr=$open_pr" >> "$GITHUB_OUTPUT" if [ -n "$open_pr" ]; then