diff --git a/workflow-runs.js b/workflow-runs.js index 27f13ea0..0cd08b2c 100644 --- a/workflow-runs.js +++ b/workflow-runs.js @@ -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) } }