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:
parent
7bea055c4a
commit
d8aff570fa
1 changed files with 5 additions and 0 deletions
5
pull.go
5
pull.go
|
@ -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"`
|
||||||
|
|
Loading…
Reference in a new issue