Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion workflows/adhoc-qa.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
run: |
MAX_OPEN_PRS=8
if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[adhoc-qa]"' --json number --jq 'length')
COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[adhoc-qa]"' --json number --jq 'length' 2>/dev/null || echo 0)
[[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
# exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS

Expand Down
2 changes: 1 addition & 1 deletion workflows/efficiency-improver.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
run: |
MAX_OPEN_PRS=8
if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[efficiency-improver]"' --json number --jq 'length')
COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[efficiency-improver]"' --json number --jq 'length' 2>/dev/null || echo 0)
[[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
# exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS

Expand Down
2 changes: 1 addition & 1 deletion workflows/glossary-maintainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
run: |
MAX_OPEN_PRS=8
if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[docs]"' --json number --jq 'length')
COUNT=$(gh pr list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "[docs]"' --json number --jq 'length' 2>/dev/null || echo 0)
[[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
# exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS

Expand Down
2 changes: 1 addition & 1 deletion workflows/perf-improver.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
run: |
MAX_OPEN_PRS=8
if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
COUNT=$(gh pr list --repo ${{ github.repository }} --state open --search 'in:title "[perf-improver]"' --json number --jq 'length')
COUNT=$(gh pr list --repo ${{ github.repository }} --state open --search 'in:title "[perf-improver]"' --json number --jq 'length' 2>/dev/null || echo 0)
[[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
# exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS

Expand Down
2 changes: 1 addition & 1 deletion workflows/test-improver.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
run: |
MAX_OPEN_PRS=8
if [[ "$GITHUB_EVENT_NAME" != "schedule" ]]; then exit 0; fi
COUNT=$(gh pr list --repo ${{ github.repository }} --state open --search 'in:title "[test-improver]"' --json number --jq 'length')
COUNT=$(gh pr list --repo ${{ github.repository }} --state open --search 'in:title "[test-improver]"' --json number --jq 'length' 2>/dev/null || echo 0)
[[ "$COUNT" -lt "$MAX_OPEN_PRS" ]]
# exits 0 if not scheduled or <MAX_OPEN_PRS open PRs, 1 if ≥MAX_OPEN_PRS

Expand Down