File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 run : |
1616 MAX_OPEN_PRS=8
1717 if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
18- COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[adhoc-qa]"' --json number --jq 'length')
18+ COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[adhoc-qa]"' --json number --jq 'length' 2>/dev/null || echo 0 )
1919 [[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
2020 # exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS
2121
Original file line number Diff line number Diff line change 1818 run : |
1919 MAX_OPEN_PRS=8
2020 if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
21- COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[efficiency-improver]"' --json number --jq 'length')
21+ COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[efficiency-improver]"' --json number --jq 'length' 2>/dev/null || echo 0 )
2222 [[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
2323 # exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS
2424
Original file line number Diff line number Diff line change 1111 run : |
1212 MAX_OPEN_PRS=8
1313 if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
14- COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[docs]"' --json number --jq 'length')
14+ COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[docs]"' --json number --jq 'length' 2>/dev/null || echo 0 )
1515 [[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
1616 # exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS
1717
Original file line number Diff line number Diff line change 2323 run : |
2424 MAX_OPEN_PRS=8
2525 if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
26- COUNT=$(gh pr list --repo ${{ github.repository }} --state open --search 'in:title "[perf-improver]"' --json number --jq 'length')
26+ COUNT=$(gh pr list --repo ${{ github.repository }} --state open --search 'in:title "[perf-improver]"' --json number --jq 'length' 2>/dev/null || echo 0 )
2727 [[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
2828 # exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS
2929
Original file line number Diff line number Diff line change 2323 run : |
2424 MAX_OPEN_PRS=8
2525 if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
26- COUNT=$(gh pr list --repo ${{ github.repository }} --state open --search 'in:title "[test-improver]"' --json number --jq 'length')
26+ COUNT=$(gh pr list --repo ${{ github.repository }} --state open --search 'in:title "[test-improver]"' --json number --jq 'length' 2>/dev/null || echo 0 )
2727 [[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
2828 # exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS
2929
You can’t perform that action at this time.
0 commit comments