From 584075001ddcc5cd75af42bb4f53fd39922e9021 Mon Sep 17 00:00:00 2001 From: Sebastian Duque Gutierrez <13395979+sebastiandg7@users.noreply.github.com> Date: Wed, 3 Jul 2024 09:42:46 -0500 Subject: [PATCH] fix: print workflow runs --- dist/index.js | 2 +- find-successful-workflow.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index cee1059..2f47c70 100644 --- a/dist/index.js +++ b/dist/index.js @@ -38007,7 +38007,7 @@ function findSuccessfulCommit(workflow_id, run_id, owner, repo, branch, lastSucc .request(`GET /repos/${owner}/${repo}/actions/workflows/${workflow_id}/runs`, workflowRunsFetchParams) .then(({ data: { workflow_runs } }) => { process.stdout.write('\n'); - process.stdout.write(`workfflow runs fetch result:\n`); + process.stdout.write(`workflow runs fetch result:\n`); workflow_runs.forEach((run) => { process.stdout.write(JSON.stringify({ head_branch: run.head_branch, diff --git a/find-successful-workflow.ts b/find-successful-workflow.ts index 2e4a94b..392b3b3 100644 --- a/find-successful-workflow.ts +++ b/find-successful-workflow.ts @@ -208,7 +208,7 @@ async function findSuccessfulCommit( ) .then(({ data: { workflow_runs } }) => { process.stdout.write('\n'); - process.stdout.write(`workfflow runs fetch result:\n`); + process.stdout.write(`workflow runs fetch result:\n`); workflow_runs.forEach((run) => { process.stdout.write( JSON.stringify({