Add 'state' to queries for pull requests

This commit is contained in:
Toshiya Doi 2020-03-16 02:27:33 +09:00
parent 94a1e6a830
commit d429babe2b

View file

@ -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