Module Values.MergePullRequestByThreeWayOutputSource

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.

Sourcetype nonrec t = {
  1. pullRequest : PullRequest.t option;
}
Sourcetype nonrec error = [
  1. | `CommitMessageLengthExceededException of CommitMessageLengthExceededException.t
  2. | `ConcurrentReferenceUpdateException of ConcurrentReferenceUpdateException.t
  3. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  4. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  5. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  6. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  7. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  8. | `FileContentSizeLimitExceededException of FileContentSizeLimitExceededException.t
  9. | `FolderContentSizeLimitExceededException of FolderContentSizeLimitExceededException.t
  10. | `InvalidCommitIdException of InvalidCommitIdException.t
  11. | `InvalidConflictDetailLevelException of InvalidConflictDetailLevelException.t
  12. | `InvalidConflictResolutionException of InvalidConflictResolutionException.t
  13. | `InvalidConflictResolutionStrategyException of InvalidConflictResolutionStrategyException.t
  14. | `InvalidEmailException of InvalidEmailException.t
  15. | `InvalidFileModeException of InvalidFileModeException.t
  16. | `InvalidPathException of InvalidPathException.t
  17. | `InvalidPullRequestIdException of InvalidPullRequestIdException.t
  18. | `InvalidReplacementContentException of InvalidReplacementContentException.t
  19. | `InvalidReplacementTypeException of InvalidReplacementTypeException.t
  20. | `InvalidRepositoryNameException of InvalidRepositoryNameException.t
  21. | `ManualMergeRequiredException of ManualMergeRequiredException.t
  22. | `MaximumConflictResolutionEntriesExceededException of MaximumConflictResolutionEntriesExceededException.t
  23. | `MaximumFileContentToLoadExceededException of MaximumFileContentToLoadExceededException.t
  24. | `MaximumItemsToCompareExceededException of MaximumItemsToCompareExceededException.t
  25. | `MultipleConflictResolutionEntriesException of MultipleConflictResolutionEntriesException.t
  26. | `NameLengthExceededException of NameLengthExceededException.t
  27. | `PathRequiredException of PathRequiredException.t
  28. | `PullRequestAlreadyClosedException of PullRequestAlreadyClosedException.t
  29. | `PullRequestApprovalRulesNotSatisfiedException of PullRequestApprovalRulesNotSatisfiedException.t
  30. | `PullRequestDoesNotExistException of PullRequestDoesNotExistException.t
  31. | `PullRequestIdRequiredException of PullRequestIdRequiredException.t
  32. | `ReplacementContentRequiredException of ReplacementContentRequiredException.t
  33. | `ReplacementTypeRequiredException of ReplacementTypeRequiredException.t
  34. | `RepositoryDoesNotExistException of RepositoryDoesNotExistException.t
  35. | `RepositoryNameRequiredException of RepositoryNameRequiredException.t
  36. | `RepositoryNotAssociatedWithPullRequestException of RepositoryNotAssociatedWithPullRequestException.t
  37. | `TipOfSourceReferenceIsDifferentException of TipOfSourceReferenceIsDifferentException.t
  38. | `TipsDivergenceExceededException of TipsDivergenceExceededException.t
  39. | `Unknown_operation_error of string * string option
]
Sourceval make : ?pullRequest:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CommitMessageLengthExceededException of unit | `ConcurrentReferenceUpdateException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `FileContentSizeLimitExceededException of unit | `FolderContentSizeLimitExceededException of unit | `InvalidCommitIdException of unit | `InvalidConflictDetailLevelException of unit | `InvalidConflictResolutionException of unit | `InvalidConflictResolutionStrategyException of unit | `InvalidEmailException of unit | `InvalidFileModeException of unit | `InvalidPathException of unit | `InvalidPullRequestIdException of unit | `InvalidReplacementContentException of unit | `InvalidReplacementTypeException of unit | `InvalidRepositoryNameException of unit | `ManualMergeRequiredException of unit | `MaximumConflictResolutionEntriesExceededException of unit | `MaximumFileContentToLoadExceededException of unit | `MaximumItemsToCompareExceededException of unit | `MultipleConflictResolutionEntriesException of unit | `NameLengthExceededException of unit | `PathRequiredException of unit | `PullRequestAlreadyClosedException of unit | `PullRequestApprovalRulesNotSatisfiedException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `ReplacementContentRequiredException of unit | `ReplacementTypeRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `RepositoryNotAssociatedWithPullRequestException of unit | `TipOfSourceReferenceIsDifferentException of unit | `TipsDivergenceExceededException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CommitMessageLengthExceededException of unit | `ConcurrentReferenceUpdateException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `FileContentSizeLimitExceededException of unit | `FolderContentSizeLimitExceededException of unit | `InvalidCommitIdException of unit | `InvalidConflictDetailLevelException of unit | `InvalidConflictResolutionException of unit | `InvalidConflictResolutionStrategyException of unit | `InvalidEmailException of unit | `InvalidFileModeException of unit | `InvalidPathException of unit | `InvalidPullRequestIdException of unit | `InvalidReplacementContentException of unit | `InvalidReplacementTypeException of unit | `InvalidRepositoryNameException of unit | `ManualMergeRequiredException of unit | `MaximumConflictResolutionEntriesExceededException of unit | `MaximumFileContentToLoadExceededException of unit | `MaximumItemsToCompareExceededException of unit | `MultipleConflictResolutionEntriesException of unit | `NameLengthExceededException of unit | `PathRequiredException of unit | `PullRequestAlreadyClosedException of unit | `PullRequestApprovalRulesNotSatisfiedException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `ReplacementContentRequiredException of unit | `ReplacementTypeRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `RepositoryNotAssociatedWithPullRequestException of unit | `TipOfSourceReferenceIsDifferentException of unit | `TipsDivergenceExceededException 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 * [> `Enum of string | `List of [> `Structure of (string * [> `String of RepositoryName.t | `Structure of (string * [> `Boolean of IsMerged.t | `Enum of string | `String of Arn.t ]) list | `Timestamp of LastModifiedDate.t ]) list ] list | `String of PullRequestId.t | `Timestamp of LastModifiedDate.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