Files
openide/plugins/github/resources/graphql/fragment/pullRequestInfo.graphql
Ivan Semenov cf4dbb64ff [github] use ref update rules calculate PR mergeability and update min API version to 3.0
this allows us to avoid loading all user teams (costly) and avoid loading branch protection rules (fails for non-admins)

#Fixed IDEA-336300

GitOrigin-RevId: 79416686cf100b391a446ba26e218f457387eb2b
2023-10-26 21:23:09 +00:00

44 lines
499 B
GraphQL

fragment pullRequestInfo on PullRequest {
...pullRequestInfoShort
body
author {
...actorInfo
}
createdAt
reviewDecision
reviews(last: 100) {
nodes {
...pullRequestReview
}
}
baseRefName
baseRefOid
baseRepository {
owner {
login
}
isFork
}
baseRef {
refUpdateRule {
...refUpdateRule
}
}
headRefName
headRefOid
headRepository {
owner {
login
}
nameWithOwner
isFork
url
sshUrl
}
}