add merged attributes

pull/5370/head
yann300 2 years ago
parent b7c3ddd6cf
commit c63fda7624
  1. 5
      build-qa-doc.js

@ -3,11 +3,13 @@ const fs = require('fs')
let value = fs.readFileSync('./done.json')
value = JSON.parse(value)
const inDone = value.data.search.edges[0].node.project.columns.edges[0].node.cards.edges
let data =
let data = ''
console.log(inDone.length, 'issues/Prs\n')
data = inDone.length + ' issues/Prs\n'
for (let card of inDone) {
if (card.node.content.url && card.node.content.merged !== false) {
data += `${card.node.content.title} - ${card.node.content.url}\n`
}
}
console.log('done.txt updated')
@ -58,6 +60,7 @@ fs.writeFileSync('./done.txt', data)
id
number
title
merged
}
}
}

Loading…
Cancel
Save