Skip to content

Commit 9776a4d

Browse files
Fix missing summary in timeout case
1 parent a6b449b commit 9776a4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def wait_for_workflow_run(
6565
if run is not None and run.is_finished():
6666
on_run_finished(owner, repo, run, do_summary)
6767
return
68+
if do_summary:
69+
util.gh_summary("❌ Run timed out")
6870
raise Exception("Timed out waiting for workflow run")
6971

7072

0 commit comments

Comments
 (0)