Skip to content

Commit

Permalink
feat(workflows): PR review notification filter draft PR (Tencent#2854)
Browse files Browse the repository at this point in the history
  • Loading branch information
medns authored and pba-cra committed Feb 1, 2023
1 parent 4563156 commit 9077414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh_pr_review_notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9077414

Please sign in to comment.