From ba439483729b95a07fa064af5fe2429cde42b043 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 22 Sep 2022 17:01:30 +0200 Subject: [PATCH] add merged attribute --- build-changelog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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