From d42e6145ab1c7603edf1ff573da2ac3e8dfcf89c Mon Sep 17 00:00:00 2001 From: Kurt Madel Date: Fri, 26 Aug 2016 18:01:33 -0400 Subject: [PATCH 1/2] added additional branch/repo info to PR webhook --- pull.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pull.go b/pull.go index 6e1ae6e..be93b26 100644 --- a/pull.go +++ b/pull.go @@ -22,6 +22,11 @@ type PullRequest struct { State StateType `json:"state"` Comments int `json:"comments"` + HeadBranch string `json:"head_branch"` + HeadRepo *Repository `json:"head_repo"` + BaseBranch string `json:"base_branch"` + BaseRepo *Repository `json:"base_repo"` + HTMLURL string `json:"html_url"` Mergeable *bool `json:"mergeable"` From f5757a0397b4048d9121e2272e78c77dfc2bab27 Mon Sep 17 00:00:00 2001 From: Kurt Madel Date: Fri, 26 Aug 2016 18:01:33 -0400 Subject: [PATCH 2/2] added additional branch/repo info to PR webhook --- pull.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pull.go b/pull.go index 6e1ae6e..be93b26 100644 --- a/pull.go +++ b/pull.go @@ -22,6 +22,11 @@ type PullRequest struct { State StateType `json:"state"` Comments int `json:"comments"` + HeadBranch string `json:"head_branch"` + HeadRepo *Repository `json:"head_repo"` + BaseBranch string `json:"base_branch"` + BaseRepo *Repository `json:"base_repo"` + HTMLURL string `json:"html_url"` Mergeable *bool `json:"mergeable"`