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({