From a278c0d852a01f345936480de0dcfa1292fb4dc7 Mon Sep 17 00:00:00 2001 From: reivilibre Date: Thu, 13 Mar 2025 14:52:00 +0000 Subject: Fix detection of workflow failures in the release script. (#18211) If one workflow is successful and one fails, currently that is reported as success. --------- Signed-off-by: Olivier 'reivilibre --- scripts-dev/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts-dev/release.py') diff --git a/scripts-dev/release.py b/scripts-dev/release.py index b14b61c705..c556ccaf86 100755 --- a/scripts-dev/release.py +++ b/scripts-dev/release.py @@ -592,7 +592,7 @@ def _wait_for_actions(gh_token: Optional[str]) -> None: if all( workflow["status"] != "in_progress" for workflow in resp["workflow_runs"] ): - success = ( + success = all( workflow["status"] == "completed" for workflow in resp["workflow_runs"] ) if success: -- cgit 1.5.1