fix
This commit is contained in:
parent
ef71b6110f
commit
435be3b612
5
.github/workflows/assign-to-project.yml
vendored
5
.github/workflows/assign-to-project.yml
vendored
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user