Skip to content

Commit 942692e

Browse files
Add Draft to Issue type (#2997)
Fixes: #2996.
1 parent a5f292c commit 942692e

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-stringify_test.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/issues.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ type Issue struct {
5454
Reactions *Reactions `json:"reactions,omitempty"`
5555
Assignees []*User `json:"assignees,omitempty"`
5656
NodeID *string `json:"node_id,omitempty"`
57+
Draft *bool `json:"draft,omitempty"`
5758

5859
// TextMatches is only populated from search results that request text matches
5960
// See: search.go and https://docs.github.com/rest/search/#text-match-metadata

0 commit comments

Comments
 (0)