package current_gitlab

  1. Overview
  2. Docs

Status associated with a single Commit.t.

type t

GitLab commit context status type.

type state = [
  1. | `Cancelled
  2. | `Failure
  3. | `Running
  4. | `Pending
  5. | `Success
]

All possible Commit states in GitLab.

val v : name:string -> ?description:string -> ?url:Uri.t -> state -> t

Create t with an optional ?url and ?description to associate with the displayed status in GitLab.

OCaml

Innovation. Community. Security.