Skip to content

Commit c361c8a

Browse files
committed
actions: Bump limit of listed PRs
By default `gh pr list` limits output to 30 found PRs. `--jq` expressions filters JSON output, not PRs, which means it is evaluated after PRs number is reduced by `--limit` . Signed-off-by: Jan Gałda <[email protected]>
1 parent f38d311 commit c361c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/enforce-toolchain-synchronization.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
if: env.modified == 'true'
7070
id: find_prs
7171
run: |
72-
PRs=$(gh pr list --base ${{ github.ref_name }} --state open --json url,headRefName,files --jq '[.[] | select(.files[]? | .path as $file | [$file] | inside([env.TOOLCHAIN_FILES]))]')
72+
PRs=$(gh pr list --limit 500 --base ${{ github.ref_name }} --state open --json url,headRefName,files --jq '[.[] | select(.files[]? | .path as $file | [$file] | inside([env.TOOLCHAIN_FILES]))]')
7373
echo "Found PRs: $PRs"
7474
echo "prs=$PRs" >> $GITHUB_ENV
7575
env:

0 commit comments

Comments
 (0)