Module Values.EvaluationSource

Returns information about the approval rules applied to a pull request and whether conditions have been met.

Sourcetype nonrec t = {
  1. approved : Approved.t option;
    (*

    Whether the state of the pull request is approved.

    *)
  2. overridden : Overridden.t option;
    (*

    Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.

    *)
  3. approvalRulesSatisfied : ApprovalRulesSatisfiedList.t option;
    (*

    The names of the approval rules that have had their conditions met.

    *)
  4. approvalRulesNotSatisfied : ApprovalRulesNotSatisfiedList.t option;
    (*

    The names of the approval rules that have not had their conditions met.

    *)
}
Sourceval make : ?approved:??? -> ?overridden:??? -> ?approvalRulesSatisfied:??? -> ?approvalRulesNotSatisfied:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Approved.t | `List of [> `String of ApprovalRuleName.t ] list ]) 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