diff --git a/src/Pentest/PentestService.ts b/src/Pentest/PentestService.ts index 65c13a74..aba107b2 100644 --- a/src/Pentest/PentestService.ts +++ b/src/Pentest/PentestService.ts @@ -24,10 +24,12 @@ export class PentestService { console.log(`Repo: ${repo}`); console.log('Going to get Pentest tickets from github boards'); + await octokit.rest.projects - .listForRepo({ + .createForRepo({ owner: owner, repo: repo, + name: 'Projects Jonathan B', }) .then(async (response) => { console.log('Got the column for repo'); @@ -37,6 +39,7 @@ export class PentestService { core.warning('Error getting column!'); console.log('Error: ', error); }); + await octokit.rest.projects .listCards({ owner: owner,