Have the release script warn if a workflow is queued for >15m

This commit is contained in:
Andrew Morgan
2025-10-21 14:29:30 +01:00
parent 6c16734cf3
commit 889ffd9375

View File

@@ -596,6 +596,11 @@ def _wait_for_actions(gh_token: Optional[str]) -> None:
if len(resp["workflow_runs"]) == 0:
continue
# Warn the user if any workflows are still queued. They might need to fix something.
if any(workflow["status"] == "queued" for workflow in resp["workflow_runs"]):
_notify("Warning: at least one release workflow is still queued...")
continue
if all(
workflow["status"] != "in_progress" for workflow in resp["workflow_runs"]
):