From ef71b6110ff8d8f3398d6e030b506371c9af5943 Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 16 Dec 2021 13:51:58 +0100 Subject: [PATCH] fix --- .github/workflows/assign-to-project.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/assign-to-project.yml b/.github/workflows/assign-to-project.yml index 533f6fa..a23450a 100644 --- a/.github/workflows/assign-to-project.yml +++ b/.github/workflows/assign-to-project.yml @@ -42,10 +42,12 @@ jobs: } // find the project + console.log('find project...') const projects = await github.projects.listForRepo({ owner: context.repo.owner, repo: context.repo.repo, }) + console.log(`retrieved ${} projects.`) const project = firstOrDefault(projects, (x) => x.name === project_name) //var project = null //for (const p of projects) { @@ -57,6 +59,9 @@ jobs: core.setFailed(`Failed to find project "${project_name}".`) return } + else { + console.log(`project id: ${project.id}`) + } // find the column const columns = await github.projects.listColumns({