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 4cb15c0 commit 19eac0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/buildSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ 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}`),
job.steps.forEach((step as string) => {
console.log(` **Step: ${step.name}`),
console.log(` **Uses: ${step.uses}`),
console.log(`Job: ${jobs.name}`);
jobs.steps.forEach((step as string) => {
console.log(` **Step: ${step.name}`);
console.log(` **Uses: ${step.uses}`);
});
});
} catch (error) {
Expand Down

0 comments on commit 19eac0d

Please sign in to comment.