1
0
This commit is contained in:
Stephan 2022-03-18 16:58:14 +01:00
parent 13a337a9b8
commit efed3f3cc1

View File

@ -40,6 +40,8 @@ module.exports = /*async*/ ({github, context, core}) => {
core.setFailed(`Could not find milestone '${version}'.`) core.setFailed(`Could not find milestone '${version}'.`)
return return
} }
console.log('MILESTONE')
console.log(milestone)
if (milestone.state != "open") { if (milestone.state != "open") {
core.setFailed(`Milestone '${version}' is already closed.`) core.setFailed(`Milestone '${version}' is already closed.`)
return return