refactor: create issue api

This commit is contained in:
Rongjian Zhang
2020-01-07 18:33:41 +08:00
parent 857e49f220
commit 4551b6e9fd
6 changed files with 1293 additions and 43 deletions

View File

@@ -0,0 +1,13 @@
mutation GhCreateIssue($repoId: ID!, $title: String!, $body: String!) {
createIssue(input: { repositoryId: $repoId, title: $title, body: $body }) {
issue {
number
repository {
owner {
login
}
name
}
}
}
}