diff --git a/.github/workflows/cleanup-netlify-previews.yml b/.github/workflows/cleanup-netlify-previews.yml index 6ae195cb4bd..a1753100551 100644 --- a/.github/workflows/cleanup-netlify-previews.yml +++ b/.github/workflows/cleanup-netlify-previews.yml @@ -49,7 +49,7 @@ jobs: PREVIEW_COUNT=$(echo "$PREVIEW_DEPLOYS" | jq 'length') echo "Found $PREVIEW_COUNT preview/branch deploys" - OPEN_PRS=$(gh pr list --state open --json number --jq '.[].number') + OPEN_PRS=$(gh pr list --state open --limit 1000 --json number --jq '.[].number') REMOTE_BRANCHES=$(git branch -r | sed 's/origin\///' | tr -d ' ') echo ""