diff --git a/build-changelog.js b/build-changelog.js index 60928b8c02..eb6d5bb247 100644 --- a/build-changelog.js +++ b/build-changelog.js @@ -10,7 +10,7 @@ const prCount = inDone.filter((card) => { console.log(prCount, 'Prs\n') data = prCount + ' Prs\n\n' for (let card of inDone) { - if (card.node.content.url) { + if (card.node.content.url && card.node.content.merged) { data += ` - [${card.node.content.title}](${card.node.content.url}) (@${card.node.content.author.login})\n` data += ` participants: ${card.node.content.participants.edges.map((p) => { return `@(${p.node.login})` })}` data += '\n\n' @@ -76,6 +76,7 @@ fs.writeFileSync('./change-log.txt', data) } } url + merged id number title