1
0
This commit is contained in:
Stephan 2021-12-16 13:54:27 +01:00
parent ef71b6110f
commit 435be3b612

View File

@ -45,9 +45,10 @@ jobs:
console.log('find project...') console.log('find project...')
const projects = await github.projects.listForRepo({ const projects = await github.projects.listForRepo({
owner: context.repo.owner, 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) const project = firstOrDefault(projects, (x) => x.name === project_name)
//var project = null //var project = null
//for (const p of projects) { //for (const p of projects) {