add merged attributes

pull/2946/head
yann300 2 years ago
parent 3683b4f3f4
commit ad06775c11
  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