[Webkit-unassigned] [Bug 242927] [git-webkit] Use graphGL API to search for pull requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 19 17:23:08 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=242927

--- Comment #2 from Jonathan Bedard <jbedard at apple.com> ---
Need to integrate the call to existing tooling, but the query we're looking for should be this one:

query {
  search(query: "repo:<owner>/<repository> is:pr head:<branch-name>", type: ISSUE, last: 100) {
    edges {
      node {
        ... on PullRequest {
          number
          url
          state
          title
          body
          isDraft
          author {
            login
          }
          baseRefName
          headRefName
          headRepository {
            nameWithOwner
          }
        }
      }
    }
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220720/cd28880c/attachment.htm>


More information about the webkit-unassigned mailing list