diff --git a/.github/workflows/gh_pr_review_notification.yml b/.github/workflows/gh_pr_review_notification.yml index 706900a6573..56d59c13643 100644 --- a/.github/workflows/gh_pr_review_notification.yml +++ b/.github/workflows/gh_pr_review_notification.yml @@ -139,11 +139,11 @@ jobs: const { pulls } = github.rest; const os = require('os'); - const pull_requests = await github.paginate(pulls.list, { + const pull_requests = (await github.paginate(pulls.list, { per_page: 100, state: 'open', ...context.repo - }); + })).filter(pull => pull.draft === false); const requested_reviewers = await Promise.all( pull_requests.map(