add merged attribute

pull/2935/head
yann300 2 years ago
parent ec6d2a2058
commit ba43948372
  1. 3
      build-changelog.js

@ -10,7 +10,7 @@ const prCount = inDone.filter((card) => {
console.log(prCount, 'Prs\n') console.log(prCount, 'Prs\n')
data = prCount + ' Prs\n\n' data = prCount + ' Prs\n\n'
for (let card of inDone) { 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 += ` - [${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 += ` participants: ${card.node.content.participants.edges.map((p) => { return `@(${p.node.login})` })}`
data += '\n\n' data += '\n\n'
@ -76,6 +76,7 @@ fs.writeFileSync('./change-log.txt', data)
} }
} }
url url
merged
id id
number number
title title

Loading…
Cancel
Save