Commit 88f8d857 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Benjamin Cabé
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 6529c847
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ def workflow_delay(repo, pr):
        completed = set()
        for run in runs:
            print(f"{run.name}: {run.status} {run.conclusion} {run.html_url}")
            if run.status == "completed" and run.conclusion == "success":
            if run.status == "completed":
                completed.add(run.name)

        if WAIT_FOR_WORKFLOWS.issubset(completed):