fix
This commit is contained in:
parent
f9c717556d
commit
87f5690188
9
.github/workflows/assign-to-project.yml
vendored
9
.github/workflows/assign-to-project.yml
vendored
|
@ -101,17 +101,16 @@ jobs:
|
||||||
core.setFailed(`Failed to get issue ${context.issue.number}.`)
|
core.setFailed(`Failed to get issue ${context.issue.number}.`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log(`issue id: ${item.id}.`)
|
console.log(`issue id: ${item.data.id}.`)
|
||||||
}
|
}
|
||||||
console.log(item) // WTF is the id?
|
|
||||||
|
|
||||||
console.log('create the card...')
|
console.log('create the card...')
|
||||||
console.log(`in column ${column.id} for item ${item.id} of type ${content_type}`)
|
console.log(`in column ${column.id} for item ${item.data.id} of type ${content_type}`)
|
||||||
await github.projects.createCard({
|
await github.projects.createCard({
|
||||||
column_id: column.id,
|
column_id: column.id,
|
||||||
//note:,
|
//note:,
|
||||||
content_id: item.id,
|
content_id: item.data.id,
|
||||||
content_type: content_type
|
content_type: content_type
|
||||||
})
|
})
|
||||||
console.log('created')
|
console.log('created')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user