From 7c3bb817094a3be8746a09c16a271295b0b010c9 Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 10 Jan 2022 08:16:46 +0100 Subject: [PATCH] cleanup --- .github/workflows/assign-to-project.yml | 10 +++++++--- 6.txt | 1 - dan.txt | 3 --- duh.txt | 1 - e.txt | 3 --- foo.txt | 1 - 6 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 6.txt delete mode 100644 dan.txt delete mode 100644 duh.txt delete mode 100644 e.txt delete mode 100644 foo.txt diff --git a/.github/workflows/assign-to-project.yml b/.github/workflows/assign-to-project.yml index 0ec0444..953e879 100644 --- a/.github/workflows/assign-to-project.yml +++ b/.github/workflows/assign-to-project.yml @@ -117,9 +117,13 @@ jobs: return } else { - console.log(item) - console.log(`${content_type} #${item_number} id: ${item.data.id}.`) - console.log(`was: ${item_id} and match?!`) + console.log(`${content_type} #${context.issue.number} id: ${item.data.id}.`) + if (item_id === item.data.id) { + console.log(`item_id: ${item_id}`) + } + else { + console.log(`but 'context.payload' provides item_id: ${item_id} and meh?`) + } } console.log('create the card...') diff --git a/6.txt b/6.txt deleted file mode 100644 index 199f665..0000000 --- a/6.txt +++ /dev/null @@ -1 +0,0 @@ -Its my sixth file. diff --git a/dan.txt b/dan.txt deleted file mode 100644 index 075c326..0000000 --- a/dan.txt +++ /dev/null @@ -1,3 +0,0 @@ -this is a new file only in my branch - -changing something that won't conflict in master diff --git a/duh.txt b/duh.txt deleted file mode 100644 index 9301c68..0000000 --- a/duh.txt +++ /dev/null @@ -1 +0,0 @@ -duh diff --git a/e.txt b/e.txt deleted file mode 100644 index e3ef1bf..0000000 --- a/e.txt +++ /dev/null @@ -1,3 +0,0 @@ -e - -MiNor Change diff --git a/foo.txt b/foo.txt deleted file mode 100644 index 257cc56..0000000 --- a/foo.txt +++ /dev/null @@ -1 +0,0 @@ -foo