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:
Родитель
7bea055c4a
Коммит
d8aff570fa
5
pull.go
5
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"`
|
||||
|
|
Загрузка…
Ссылка в новой задаче