Skip to content

Commit

Permalink
Merge pull request #51 from pieterlexis/add-assignees
Browse files Browse the repository at this point in the history
GitHub Payloads: Add `Assignees` where needed
  • Loading branch information
deankarn authored Nov 4, 2018
2 parents 24279cc + a39ebc1 commit cdc59eb
Showing 1 changed file with 28 additions and 26 deletions.
54 changes: 28 additions & 26 deletions github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -2757,19 +2757,20 @@ type PullRequestPayload struct {
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"user"`
Body string `json:"body"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
ClosedAt *time.Time `json:"closed_at"`
MergedAt *time.Time `json:"merged_at"`
MergeCommitSha *string `json:"merge_commit_sha"`
Assignee *Assignee `json:"assignee"`
Milestone *Milestone `json:"milestone"`
CommitsURL string `json:"commits_url"`
ReviewCommentsURL string `json:"review_comments_url"`
ReviewCommentURL string `json:"review_comment_url"`
CommentsURL string `json:"comments_url"`
StatusesURL string `json:"statuses_url"`
Body string `json:"body"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
ClosedAt *time.Time `json:"closed_at"`
MergedAt *time.Time `json:"merged_at"`
MergeCommitSha *string `json:"merge_commit_sha"`
Assignee *Assignee `json:"assignee"`
Assignees []*Assignee `json:"assignees"`
Milestone *Milestone `json:"milestone"`
CommitsURL string `json:"commits_url"`
ReviewCommentsURL string `json:"review_comments_url"`
ReviewCommentURL string `json:"review_comment_url"`
CommentsURL string `json:"comments_url"`
StatusesURL string `json:"statuses_url"`
RequestedReviewers []struct {
Login string `json:"login"`
ID int `json:"id"`
Expand Down Expand Up @@ -3694,19 +3695,20 @@ type PullRequestReviewCommentPayload struct {
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"user"`
Body string `json:"body"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
ClosedAt *time.Time `json:"closed_at"`
MergedAt *time.Time `json:"merged_at"`
MergeCommitSha string `json:"merge_commit_sha"`
Assignee *Assignee `json:"assignee"`
Milestone *Milestone `json:"milestone"`
CommitsURL string `json:"commits_url"`
ReviewCommentsURL string `json:"review_comments_url"`
ReviewCommentURL string `json:"review_comment_url"`
CommentsURL string `json:"comments_url"`
StatusesURL string `json:"statuses_url"`
Body string `json:"body"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
ClosedAt *time.Time `json:"closed_at"`
MergedAt *time.Time `json:"merged_at"`
MergeCommitSha string `json:"merge_commit_sha"`
Assignee *Assignee `json:"assignee"`
Assignees []*Assignee `json:"assignees"`
Milestone *Milestone `json:"milestone"`
CommitsURL string `json:"commits_url"`
ReviewCommentsURL string `json:"review_comments_url"`
ReviewCommentURL string `json:"review_comment_url"`
CommentsURL string `json:"comments_url"`
StatusesURL string `json:"statuses_url"`
Head struct {
Label string `json:"label"`
Ref string `json:"ref"`
Expand Down

0 comments on commit cdc59eb

Please sign in to comment.