Skip to content

Commit

Permalink
handle "Bot" user type (#270)
Browse files Browse the repository at this point in the history
* handle "Bot" user type

* update changelog for #270
  • Loading branch information
zoggy committed Jan 7, 2024
1 parent 91edfae commit 217dcd5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Unreleased
- Add ping a repository and org webhook. (@tmcgilchrist #263)
- Handle "Bot" user type (@zoggy #270)

## 4.4.1 (2022-01-26)
- Fix older versions of github can be co-installed with github-data (@dra27 #261)
Expand Down
9 changes: 5 additions & 4 deletions lib_data/github.atd
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ type direction = [
type user_type = [
| User <json name="User">
| Org <json name="Organization">
| Bot <json name="Bot">
]

type org = {
Expand Down Expand Up @@ -1370,7 +1371,7 @@ type check_status = [
| Queued <json name="queued">
| In_progress <json name="in_progress">
| Completed <json name="completed">
]
]

type check_conclusion = [
| Success <json name="success">
Expand All @@ -1379,7 +1380,7 @@ type check_conclusion = [
| Cancelled <json name="cancelled">
| Timed_out <json name="timed_out">
| Action_required <json name="action_required">
]
]

type check_run_output = {
title: string nullable;
Expand Down Expand Up @@ -1470,7 +1471,7 @@ type check_run_annotations = check_run_annotation list
type check_suite_info = {
email: string;
name: string;
}
}

type check_suite_head_commit = {
id: string;
Expand Down Expand Up @@ -1515,4 +1516,4 @@ type check_suite_preferences = {
preferences: auto_trigger_checks list;
respository: repository;
}

0 comments on commit 217dcd5

Please sign in to comment.