Skip to content

Commit

Permalink
workflow-runs: fix typo
Browse files Browse the repository at this point in the history
Pointed out in #57 (comment)

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Nov 10, 2023
1 parent f52bcb0 commit 684f4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow-runs.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const waitForWorkflowRunToFinish = async (context, token, owner, repo, workflowR
return res
}
if (context.log) context.log(`Waiting for workflow run ${workflowRunId} (current status: ${res.status})`)
if (counter++ > 60) throw new Error(`Times out waiting for workflow run ${workflowRunId}?`)
if (counter++ > 60) throw new Error(`Timed out waiting for workflow run ${workflowRunId}?`)
await sleep(10000)
}
}
Expand Down

0 comments on commit 684f4d6

Please sign in to comment.