Add 'state' to queries for pull requests
This commit is contained in:
parent
94a1e6a830
commit
d429babe2b
1 changed files with 2 additions and 0 deletions
|
|
@ -301,6 +301,7 @@ func PullRequestByNumber(client *Client, repo ghrepo.Interface, number int) (*Pu
|
|||
url
|
||||
number
|
||||
title
|
||||
state
|
||||
body
|
||||
author {
|
||||
login
|
||||
|
|
@ -356,6 +357,7 @@ func PullRequestForBranch(client *Client, repo ghrepo.Interface, branch string)
|
|||
nodes {
|
||||
number
|
||||
title
|
||||
state
|
||||
body
|
||||
author {
|
||||
login
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue