We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c5f7a commit 5a556d6Copy full SHA for 5a556d6
pull.go
@@ -24,7 +24,9 @@ type PullRequest struct {
24
State StateType `json:"state"`
25
Comments int `json:"comments"`
26
27
- HTMLURL string `json:"html_url"`
+ HTMLURL string `json:"html_url"`
28
+ DiffURL string `json:"diff_url"`
29
+ PatchURL string `json:"patch_url"`
30
31
Mergeable bool `json:"mergeable"`
32
HasMerged bool `json:"merged"`
@@ -38,7 +40,9 @@ type PullRequest struct {
38
40
}
39
41
42
type PRBranchInfo struct {
- Name string `json:"name"`
43
+ Name string `json:"label"`
44
+ Ref string `json:"ref"`
45
+ Sha string `json:"sha"`
46
RepoID int64 `json:"repo_id"`
47
Repository *Repository `json:"repo"`
48
0 commit comments