@@ -948,6 +948,8 @@ type merge = {
948948} <ocaml field_prefix="merge_">
949949
950950type event_type = [
951+ | CheckRun <json name="check_run">
952+ | CheckSuite <json name="check_suite">
951953 | CommitComment <json name="commit_comment">
952954 | Create <json name="create">
953955 | Delete <json name="delete">
@@ -1026,6 +1028,8 @@ type event = {
10261028type events = event list
10271029
10281030type event_hook_constr = [
1031+ | CheckRun <json name="check_run"> of check_run_event
1032+ | CheckSuite <json name="check_suite"> of check_suite_event
10291033 | CommitComment <json name="CommitCommentEvent"> of commit_comment_event
10301034 | Create <json name="CreateEvent"> of create_event
10311035 | Delete <json name="DeleteEvent"> of delete_event
@@ -1468,6 +1472,22 @@ type check_run_annotation = {
14681472
14691473type check_run_annotations = check_run_annotation list
14701474
1475+ type check_run_action = [
1476+ | Completed <json name="completed">
1477+ | Created <json name="created">
1478+ | RequestedAction <json name="requested_action">
1479+ | Rerequested <json name="rerequested">
1480+ | Unknown of string
1481+ ] <json open_enum>
1482+
1483+ type check_run_event = {
1484+ action: check_run_action;
1485+ check_run: check_run;
1486+ repository: repository;
1487+ sender: user;
1488+ installation: app_installation_event;
1489+ } <ocaml field_prefix="check_run_event_">
1490+
14711491type check_suite_info = {
14721492 email: string;
14731493 name: string;
@@ -1517,3 +1537,22 @@ type check_suite_preferences = {
15171537 respository: repository;
15181538}
15191539
1540+ type check_suite_action = [
1541+ | Completed <json name="completed">
1542+ | Requested <json name="requested">
1543+ | Rerequested <json name="rerequested">
1544+ | Unknown of string
1545+ ] <json open_enum>
1546+
1547+ type check_suite_event = {
1548+ action: check_suite_action;
1549+ check_suite: check_suite;
1550+ repository: repository;
1551+ sender: user;
1552+ installation: app_installation_event;
1553+ } <ocaml field_prefix="check_suite_event_">
1554+
1555+ type app_installation_event = {
1556+ id: int <ocaml repr="int64">;
1557+ node_id: string;
1558+ } <ocaml field_prefix="app_installation_event_">
0 commit comments