Skip to content

Commit 88f8d85

Browse files
fabiobaltierikartben
authored andcommitted
do_not_merge: count all completed workflows as completed
Drop the success check for completed workflow so that the job does not wait forever for workflows that have failed. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 6529c84 commit 88f8d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/do_not_merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def workflow_delay(repo, pr):
4848
completed = set()
4949
for run in runs:
5050
print(f"{run.name}: {run.status} {run.conclusion} {run.html_url}")
51-
if run.status == "completed" and run.conclusion == "success":
51+
if run.status == "completed":
5252
completed.add(run.name)
5353

5454
if WAIT_FOR_WORKFLOWS.issubset(completed):

0 commit comments

Comments
 (0)