Module Values.AssociateApprovalRuleTemplateWithRepositoryInputSource

Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.

Sourcetype nonrec t = {
  1. approvalRuleTemplateName : ApprovalRuleTemplateName.t;
    (*

    The name for the approval rule template.

    *)
  2. repositoryName : RepositoryName.t;
    (*

    The name of the repository that you want to associate with the template.

    *)
}
Sourceval context_ : string
Sourceval make : approvalRuleTemplateName:ApprovalRuleTemplateName.t -> repositoryName:RepositoryName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ApprovalRuleTemplateName.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