From 0dd210f17a18403b870bbf8af6816cc206ca8164 Mon Sep 17 00:00:00 2001 From: Nikhil Bhoski <47204011+nbhoski@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:05:01 +0530 Subject: [PATCH] Added octokit parser --- src/buildSummary.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buildSummary.ts b/src/buildSummary.ts index 33a7c26..39453a6 100644 --- a/src/buildSummary.ts +++ b/src/buildSummary.ts @@ -106,8 +106,8 @@ export async function getWorkflowRunJobs(owner: string, repo: string, runId: str // Iterate over the jobs and log the step names const jobs = response.data.jobs; - jobs.forEach((jobs as string) => { - console.log(`Job: ${jobs.name}`); + jobs.forEach((jobs as string), => { + console.log(`Job: ${jobs.name}`), }); } catch (error) { console.error(error);