Skip to content

Commit 889ffd9

Browse files
committed
Have the release script warn if a workflow is queued for >15m
1 parent 6c16734 commit 889ffd9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts-dev/release.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,11 @@ def _wait_for_actions(gh_token: Optional[str]) -> None:
596596
if len(resp["workflow_runs"]) == 0:
597597
continue
598598

599+
# Warn the user if any workflows are still queued. They might need to fix something.
600+
if any(workflow["status"] == "queued" for workflow in resp["workflow_runs"]):
601+
_notify("Warning: at least one release workflow is still queued...")
602+
continue
603+
599604
if all(
600605
workflow["status"] != "in_progress" for workflow in resp["workflow_runs"]
601606
):

0 commit comments

Comments
 (0)