PullRequestsOpen.gql 578 B

1234567891011121314151617181920212223242526
  1. query PullRequestsOpen ($repo_owner: String!, $repo_name: String!, $after: String) {
  2. repository(owner: $repo_owner, name: $repo_name) {
  3. pullRequests(first: 100, after: $after, states:OPEN) {
  4. pageInfo {
  5. hasNextPage
  6. endCursor
  7. }
  8. nodes {
  9. number
  10. updatedAt
  11. createdAt
  12. assignees(first: 10) {
  13. nodes {
  14. login
  15. databaseId
  16. }
  17. }
  18. labels(first:5, orderBy:{field:NAME, direction:DESC}) {
  19. nodes {
  20. name
  21. }
  22. }
  23. }
  24. }
  25. }
  26. }