Skip to content

Commit

Permalink
inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thatportugueseguy committed Aug 22, 2024
1 parent b06f74b commit da1b49d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/state.ml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ let set_repo_pipeline_status { state } repo_url ~pipeline (notification : Github
let original_failed_commit, current_failed_commit =
match new_state with
| Success -> None, None
(* when new jobs are pending, we keep the existing state *)
| Pending -> current_build_status.original_failed_commit, current_build_status.current_failed_commit
| Pending ->
(* when new jobs are pending, we keep the existing state *)
current_build_status.original_failed_commit, current_build_status.current_failed_commit
| Failure | Error ->
(* if we don't have a failed step yet, set it *)
(* if we have a failed build and are retrying failed jobs: *)
Expand Down

0 comments on commit da1b49d

Please sign in to comment.