Module Values.EventInfoSource

Information about an event. The event might be a push, pull request, scheduled request, or another type of event.

Sourcetype nonrec t = {
  1. name : EventName.t option;
    (*

    The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push

    *)
  2. state : EventState.t option;
    (*

    The state of an event. The state might be open, closed, or another state.

    *)
}
Sourceval make : ?name:??? -> ?state:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of EventName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t