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