Skip to content

Commit

Permalink
feat(workflows): PR review notification filter draft PR (#2854)
Browse files Browse the repository at this point in the history
  • Loading branch information
medns authored and hippy-actions[bot] committed Jan 11, 2023
1 parent 4f0b899 commit 7a6b1b3
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 7a6b1b3

Please sign in to comment.