Pull Request hook branch/head info (#47)

* added additional branch/repo info to PR webhook

* added additional branch/repo info to PR webhook
This commit is contained in:
Kurt Madel 2016-08-30 08:34:33 -04:00 committed by 无闻
parent 7bea055c4a
commit d8aff570fa

View file

@ -22,6 +22,11 @@ type PullRequest struct {
State StateType `json:"state"` State StateType `json:"state"`
Comments int `json:"comments"` 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"` HTMLURL string `json:"html_url"`
Mergeable *bool `json:"mergeable"` Mergeable *bool `json:"mergeable"`