From 3d32dbd623409df1ae984a8799b77c4de9a605dd Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 20 Dec 2021 19:22:26 +0100 Subject: [PATCH] fix --- .github/workflows/assign-to-project.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/assign-to-project.yml b/.github/workflows/assign-to-project.yml index 5e69102..0ec0444 100644 --- a/.github/workflows/assign-to-project.yml +++ b/.github/workflows/assign-to-project.yml @@ -80,15 +80,15 @@ jobs: // determine content type console.log('determine content type...') - console.log(context) // tons of things - console.log(context.issue) // { owner: 'zpqrtbnk', repo: 'test-repo', number: 85 } const event_name = context.eventName var content_type = null var item_number = null var item_id = null if (event_name === 'issues') { content_type = 'Issue' - // FIXME uh? + // temp! + core.setFailed(`Unsupported: issue.`) + return item_number = context.issue.number item_id = context.issue.id } @@ -117,6 +117,7 @@ jobs: return } else { + console.log(item) console.log(`${content_type} #${item_number} id: ${item.data.id}.`) console.log(`was: ${item_id} and match?!`) }