From 435be3b6127042a72775f3398c1cdc65530a7fac Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 16 Dec 2021 13:54:27 +0100 Subject: [PATCH] fix --- .github/workflows/assign-to-project.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/assign-to-project.yml b/.github/workflows/assign-to-project.yml index a23450a..7864eeb 100644 --- a/.github/workflows/assign-to-project.yml +++ b/.github/workflows/assign-to-project.yml @@ -45,9 +45,10 @@ jobs: console.log('find project...') const projects = await github.projects.listForRepo({ owner: context.repo.owner, - repo: context.repo.repo, + repo: context.repo.repo }) - console.log(`retrieved ${} projects.`) + console.log(projects) + console.log(`retrieved ${projects.length} projects.`) const project = firstOrDefault(projects, (x) => x.name === project_name) //var project = null //for (const p of projects) {