diff --git a/changelog.d/18211.misc b/changelog.d/18211.misc new file mode 100644 index 0000000000..9429b34f62 --- /dev/null +++ b/changelog.d/18211.misc @@ -0,0 +1 @@ +Fix detection of workflow failures in the release script. \ No newline at end of file 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: