Files
openide/plugins/github/resources/graphql/query/createPullRequest.graphql
Ivan Semenov 22c8cd671a [github] move pull request creation into a toolwindow
GitOrigin-RevId: fa53a1ff104f108b0b9b1533443b08a1f87dabce
2021-02-15 10:55:29 +00:00

14 lines
379 B
GraphQL

mutation ($repositoryId: ID!, $baseRefName: String!, $headRefName: String!, $title: String!, $body: String, $draft: Boolean = false) {
createPullRequest(input: {
repositoryId: $repositoryId,
baseRefName: $baseRefName,
headRefName: $headRefName,
title: $title,
body: $body,
draft: $draft
}) {
pullRequest {
...pullRequestInfoShort
}
}
}