From 87f5690188e48bfc160b5c23358fc754e5816979 Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 16 Dec 2021 16:07:45 +0100 Subject: [PATCH] fix --- .github/workflows/assign-to-project.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/assign-to-project.yml b/.github/workflows/assign-to-project.yml index 6160057..039dd9f 100644 --- a/.github/workflows/assign-to-project.yml +++ b/.github/workflows/assign-to-project.yml @@ -101,17 +101,16 @@ jobs: core.setFailed(`Failed to get issue ${context.issue.number}.`) return } - else { - console.log(`issue id: ${item.id}.`) + else { + console.log(`issue id: ${item.data.id}.`) } - console.log(item) // WTF is the id? 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({ column_id: column.id, //note:, - content_id: item.id, + content_id: item.data.id, content_type: content_type }) console.log('created')