chore: increase k8s open prs limit (#248)

Signed-off-by: chenk <hen.keinan@gmail.com>
This commit is contained in:
chenk 2023-10-01 19:22:28 +03:00 committed by GitHub
parent 08662eae99
commit dfec39ff26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."