From dfec39ff26368d806c187496ac47abb66850dee9 Mon Sep 17 00:00:00 2001 From: chenk Date: Sun, 1 Oct 2023 19:22:28 +0300 Subject: [PATCH] chore: increase k8s open prs limit (#248) Signed-off-by: chenk --- scripts/create_pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create_pr.sh b/scripts/create_pr.sh index efa6343..5010efd 100755 --- a/scripts/create_pr.sh +++ b/scripts/create_pr.sh @@ -24,7 +24,7 @@ if [[ -n $(git status --porcelain) ]]; then PR_BODY="This PR updates $FILE" # Check if a PR with the same branch name already exists - OPEN_PR_COUNT=$(gh pr list --state open --base $BASE_BRANCH --repo "$REPO" | grep "$FILE" | wc -l) + OPEN_PR_COUNT=$(gh pr list --state open --base $BASE_BRANCH --repo "$REPO" --limit 50| grep "$FILE" | wc -l) if [ "$OPEN_PR_COUNT" != 0 ]; then echo "PR for $FILE already exists, skipping."