Skip to content

Commit

Permalink
Added octokit parser
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhoski committed Jun 13, 2024
1 parent 68bd478 commit 4cb15c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buildSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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((job as string) => {
console.log(`Job: ${job.name}`),
jobs.forEach((jobs as string) => {
console.log(`Job: ${jobs.name}`),
job.steps.forEach((step as string) => {
console.log(` **Step: ${step.name}`),
console.log(` **Uses: ${step.uses}`),
Expand Down

0 comments on commit 4cb15c0

Please sign in to comment.