1
0
This commit is contained in:
Stephan 2021-12-16 13:51:58 +01:00
parent 4611d58702
commit ef71b6110f

View File

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