From 51aca8bd9f4ba3501c88917cf16039293649aa97 Mon Sep 17 00:00:00 2001 From: jariy17 Date: Mon, 23 Nov 2026 15:52:22 +0000 Subject: [PATCH] fix(slack): list every open PR in the open-PR digest pulls.list returns GitHub's default first page of 30, so repos with more open PRs (CLI 85, Python SDK 56, TS SDK 43) were truncated and reported a count of 30. --- .github/workflows/reusable-slack-open-prs-notification.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-slack-open-prs-notification.yml b/.github/workflows/reusable-slack-open-prs-notification.yml index 90005d2..ae1455e 100644 --- a/.github/workflows/reusable-slack-open-prs-notification.yml +++ b/.github/workflows/reusable-slack-open-prs-notification.yml @@ -40,10 +40,11 @@ jobs: uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | - const { data: prs } = await github.rest.pulls.list({ + const prs = await github.paginate(github.rest.pulls.list, { owner: context.repo.owner, repo: context.repo.repo, state: 'open', + per_page: 100, }); const count = prs.length;