Skip to content

Commit

Permalink
fix: print workflow runs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandg7 committed Jul 3, 2024
1 parent 27fcbda commit 5840750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion find-successful-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 5840750

Please sign in to comment.