-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathGitHub_mutations.mli
100 lines (85 loc) · 2.18 KB
/
GitHub_mutations.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
open GitHub_types
val add_card_to_project :
bot_info:Bot_info.t
-> card_id:GitHub_ID.t
-> project_id:GitHub_ID.t
-> (GitHub_ID.t, string) result Lwt.t
val update_field_value :
bot_info:Bot_info.t
-> card_id:GitHub_ID.t
-> project_id:GitHub_ID.t
-> field_id:GitHub_ID.t
-> field_value_id:string
-> unit Lwt.t
val create_new_release_management_field :
bot_info:Bot_info.t
-> project_id:GitHub_ID.t
-> field:string
-> (GitHub_ID.t * (string * string) list, string) result Lwt.t
val post_comment :
bot_info:Bot_info.t
-> id:GitHub_ID.t
-> message:string
-> (string, string) result Lwt.t
val report_on_posting_comment : (string, string) result -> unit Lwt.t
val close_pull_request : bot_info:Bot_info.t -> pr_id:GitHub_ID.t -> unit Lwt.t
val merge_pull_request :
bot_info:Bot_info.t
-> ?merge_method:merge_method
-> ?commit_headline:string
-> ?commit_body:string
-> pr_id:GitHub_ID.t
-> unit
-> unit Lwt.t
val create_check_run :
bot_info:Bot_info.t
-> ?conclusion:check_conclusion
-> name:string
-> repo_id:GitHub_ID.t
-> head_sha:string
-> status:check_run_status
-> details_url:string
-> title:string
-> ?text:string
-> summary:string
-> ?external_id:string
-> unit
-> (string, string) result Lwt.t
val update_check_run :
bot_info:Bot_info.t
-> check_run_id:GitHub_ID.t
-> repo_id:GitHub_ID.t
-> conclusion:check_conclusion
-> ?details_url:string
-> title:string
-> ?text:string
-> summary:string
-> unit
-> unit Lwt.t
val reflect_pull_request_milestone :
bot_info:Bot_info.t -> issue_closer_info -> unit Lwt.t
val add_labels :
bot_info:Bot_info.t
-> labels:GitHub_ID.t list
-> issue:GitHub_ID.t
-> unit Lwt.t
val remove_labels :
bot_info:Bot_info.t
-> labels:GitHub_ID.t list
-> issue:GitHub_ID.t
-> unit Lwt.t
val update_milestone :
bot_info:Bot_info.t
-> issue:GitHub_ID.t
-> milestone:GitHub_ID.t
-> unit Lwt.t
val remove_milestone : bot_info:Bot_info.t -> issue -> unit Lwt.t
val send_status_check :
bot_info:Bot_info.t
-> repo_full_name:string
-> commit:string
-> state:string
-> url:string
-> context:string
-> description:string
-> unit Lwt.t