Skip to content

Commit 217dcd5

Browse files
authored
handle "Bot" user type (#270)
* handle "Bot" user type * update changelog for #270
1 parent 91edfae commit 217dcd5

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## Unreleased
22
- Add ping a repository and org webhook. (@tmcgilchrist #263)
3+
- Handle "Bot" user type (@zoggy #270)
34

45
## 4.4.1 (2022-01-26)
56
- Fix older versions of github can be co-installed with github-data (@dra27 #261)

lib_data/github.atd

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ type direction = [
112112
type user_type = [
113113
| User <json name="User">
114114
| Org <json name="Organization">
115+
| Bot <json name="Bot">
115116
]
116117

117118
type org = {
@@ -1370,7 +1371,7 @@ type check_status = [
13701371
| Queued <json name="queued">
13711372
| In_progress <json name="in_progress">
13721373
| Completed <json name="completed">
1373-
]
1374+
]
13741375

13751376
type check_conclusion = [
13761377
| Success <json name="success">
@@ -1379,7 +1380,7 @@ type check_conclusion = [
13791380
| Cancelled <json name="cancelled">
13801381
| Timed_out <json name="timed_out">
13811382
| Action_required <json name="action_required">
1382-
]
1383+
]
13831384

13841385
type check_run_output = {
13851386
title: string nullable;
@@ -1470,7 +1471,7 @@ type check_run_annotations = check_run_annotation list
14701471
type check_suite_info = {
14711472
email: string;
14721473
name: string;
1473-
}
1474+
}
14741475

14751476
type check_suite_head_commit = {
14761477
id: string;
@@ -1515,4 +1516,4 @@ type check_suite_preferences = {
15151516
preferences: auto_trigger_checks list;
15161517
respository: repository;
15171518
}
1518-
1519+

0 commit comments

Comments
 (0)