Skip to content

Commit

Permalink
Merge pull request #73 from iktl/iktl-patch-1
Browse files Browse the repository at this point in the history
Update Github PR Payload
  • Loading branch information
kahootali authored Oct 7, 2019
2 parents 51f73e5 + 570b25a commit a950bf6
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions pkg/providers/github_pr_payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,27 @@ type GithubPullRequestPayload struct {
ClosedAt time.Time `json:"closed_at"`
MergedAt time.Time `json:"merged_at"`
MergeCommitSha string `json:"merge_commit_sha"`
RequestedTeams []string `json:"requested_teams"`
Labels []string `json:"labels"`
RequestedTeams []struct {
Name string `json:"body"`
ID int64 `json:"id"`
NodeID string `json:"node_id"`
Slug string `json:"slug"`
Description string `json:"description"`
Privacy string `json:"privacy"`
URL string `json:"url"`
HTMLURL string `json:"html_url"`
MembersURL string `json:"members_url"`
RepositoriesURL string `json:"repositories_url"`
Permission string `json:"permission"`
} `json:"requested_teams"`
Labels []struct {
ID int64 `json:"id"`
NodeID string `json:"node_id"`
URL string `json:"url"`
Name string `json:"name"`
Color string `json:"color"`
Default bool `json:"default"`
} `json:"labels"`
CommitsURL string `json:"commits_url"`
ReviewCommentsURL string `json:"review_comments_url"`
ReviewCommentURL string `json:"review_comment_url"`
Expand Down

0 comments on commit a950bf6

Please sign in to comment.