Skip to content

Commit

Permalink
id
Browse files Browse the repository at this point in the history
  • Loading branch information
seaona committed Nov 13, 2024
1 parent 6a45bf8 commit a0d82ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/scripts/rerun-ci-workflow-from-failed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ async function rerunFailedWorkflowsFromDevelop() {
const workflowStatus = await getWorkflowStatusById(item.id);

if (workflowStatus.items.length === 1 && workflowStatus.items[0].status === 'failed') {
await rerunWorkflowById(item.id);
console.log(`Rerun workflow with ID: ${item.id}`);
await rerunWorkflowById(workflowStatus.items[0].id);
console.log(`Rerun workflow with ID: ${workflowStatus.items[0].id}`);
}
}
}
Expand Down

0 comments on commit a0d82ee

Please sign in to comment.