Skip to content

Commit

Permalink
fix is_finished state handling
Browse files Browse the repository at this point in the history
  • Loading branch information
thatportugueseguy committed Dec 19, 2024
1 parent a8ba00f commit 847588d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/state.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 847588d

Please sign in to comment.