summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorreivilibre <oliverw@element.io>2025-03-13 14:52:00 +0000
committerGitHub <noreply@github.com>2025-03-13 14:52:00 +0000
commita278c0d852a01f345936480de0dcfa1292fb4dc7 (patch)
treed7f681a968bfeab74b7b84bebc21b6bc033f2929 /scripts-dev
parentFix: corrected routing path for workers doc (#18224) (diff)
downloadsynapse-a278c0d852a01f345936480de0dcfa1292fb4dc7.tar.xz
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 <oliverw@matrix.org>
Diffstat (limited to 'scripts-dev')
-rwxr-xr-xscripts-dev/release.py2
1 files changed, 1 insertions, 1 deletions
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: