diff --git a/src/steps/commentsNumber.js b/src/steps/commentsNumber.js index 003a803f..f2f18ac2 100644 --- a/src/steps/commentsNumber.js +++ b/src/steps/commentsNumber.js @@ -47,7 +47,7 @@ export default async function commentsNumber ({ reviewThread.comments.nodes[0].author.login === 'github-actions' && reviewThread.comments.nodes[0].body.includes('
Cc ') ) - ) + ).map(reviewThread => reviewThread.comments.nodes[0]) for (const comment of comments) { const category = comment.body.match(categoryRegex)?.[1]