From d26a782fcc501acb3134f155d58f1dd9c7a0aa49 Mon Sep 17 00:00:00 2001 From: Nikhil Bhoski <47204011+nbhoski@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:02:04 +0530 Subject: [PATCH] Added octokit parser --- src/buildSummary.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/buildSummary.ts b/src/buildSummary.ts index 619447a..9ff895d 100644 --- a/src/buildSummary.ts +++ b/src/buildSummary.ts @@ -108,9 +108,9 @@ export async function getWorkflowRunJobs(owner: string, repo: string, runId: str const jobs = response.data.jobs; jobs.forEach((jobs as string) => { console.log(`Job: ${jobs.name}`); - jobs.steps.forEach((step as string) => { - console.log(` **Step: ${step.name}`); - console.log(` **Uses: ${step.uses}`); + jobs.steps.forEach((steps as string) => { + console.log(` **Step: ${steps.name}`); + console.log(` **Uses: ${steps.uses}`); }); }); } catch (error) {