Module Values.EvaluatePullRequestApprovalRulesOutputSource

Evaluates whether a pull request has met all the conditions specified in its associated approval rules.

Sourcetype nonrec t = {
  1. evaluation : Evaluation.t option;
    (*

    The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override.

    *)
}
Sourcetype nonrec error = [
  1. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  2. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  3. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  4. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  5. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  6. | `InvalidPullRequestIdException of InvalidPullRequestIdException.t
  7. | `InvalidRevisionIdException of InvalidRevisionIdException.t
  8. | `PullRequestDoesNotExistException of PullRequestDoesNotExistException.t
  9. | `PullRequestIdRequiredException of PullRequestIdRequiredException.t
  10. | `RevisionIdRequiredException of RevisionIdRequiredException.t
  11. | `RevisionNotCurrentException of RevisionNotCurrentException.t
  12. | `Unknown_operation_error of string * string option
]
Sourceval make : ?evaluation:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidPullRequestIdException of unit | `InvalidRevisionIdException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `RevisionIdRequiredException of unit | `RevisionNotCurrentException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidPullRequestIdException of unit | `InvalidRevisionIdException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `RevisionIdRequiredException of unit | `RevisionNotCurrentException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of Approved.t | `List of [> `String of ApprovalRuleName.t ] list ]) 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