mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-14 09:45:51 +00:00
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>
This commit is contained in:
parent
929f19b472
commit
a278c0d852
2 changed files with 2 additions and 1 deletions
1
changelog.d/18211.misc
Normal file
1
changelog.d/18211.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Fix detection of workflow failures in the release script.
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue