Skip to content

Commit

Permalink
fix: add draft and active_lock_reason
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Jan 18, 2021
1 parent 1110f07 commit b4a303e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"requested_teams",
"labels",
"milestone",
"draft",
"commits_url",
"review_comments_url",
"review_comment_url",
Expand All @@ -100,7 +101,8 @@
"head",
"base",
"_links",
"author_association"
"author_association",
"active_lock_reason"
],
"properties": {
"url": { "type": "string" },
Expand Down Expand Up @@ -197,6 +199,7 @@
},
"additionalProperties": false
},
"draft": { "type": "boolean" },
"commits_url": { "type": "string" },
"review_comments_url": { "type": "string" },
"review_comment_url": { "type": "string" },
Expand Down Expand Up @@ -388,6 +391,10 @@
"NONE",
"OWNER"
]
},
"active_lock_reason": {
"type": ["string", "null"],
"enum": ["resolved", "off-topic", "too heated", "spam", null]
}
},
"additionalProperties": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"requested_reviewers",
"requested_teams",
"labels",
"draft",
"milestone",
"commits_url",
"review_comments_url",
Expand All @@ -120,7 +121,8 @@
"head",
"base",
"_links",
"author_association"
"author_association",
"active_lock_reason"
],
"properties": {
"url": { "type": "string" },
Expand Down Expand Up @@ -217,6 +219,7 @@
},
"additionalProperties": false
},
"draft": { "type": "boolean" },
"commits_url": { "type": "string" },
"review_comments_url": { "type": "string" },
"review_comment_url": { "type": "string" },
Expand Down Expand Up @@ -408,6 +411,10 @@
"NONE",
"OWNER"
]
},
"active_lock_reason": {
"type": ["string", "null"],
"enum": ["resolved", "off-topic", "too heated", "spam", null]
}
},
"additionalProperties": false
Expand Down

0 comments on commit b4a303e

Please sign in to comment.