From 847588d1ce2cd32236b7676c188f3713d7aec0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Nogueira?= Date: Thu, 19 Dec 2024 18:32:45 +0000 Subject: [PATCH] fix is_finished state handling --- lib/state.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/state.ml b/lib/state.ml index 28c1f55..0e4a772 100644 --- a/lib/state.ml +++ b/lib/state.ml @@ -58,7 +58,7 @@ let set_repo_pipeline_status { state } (n : Github_t.status_notification) = let build_number = Util.Build.get_build_number_exn ~build_url in let is_finished = match is_pipeline_step, n.state with - | true, (Success | Failure | Error) -> true + | false, (Success | Failure | Error) -> true | _ -> false in let finished_at =