mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-30 19:37:35 -05:00
feat: open and close issue
This commit is contained in:
12
lib/graphql/gh_open_issue.graphql
Normal file
12
lib/graphql/gh_open_issue.graphql
Normal file
@@ -0,0 +1,12 @@
|
||||
mutation GhOpenIssue($id: ID!, $open: Boolean!) {
|
||||
reopenIssue(input: { issueId: $id }) @include(if: $open) {
|
||||
issue {
|
||||
closed
|
||||
}
|
||||
}
|
||||
closeIssue(input: { issueId: $id }) @skip(if: $open) {
|
||||
issue {
|
||||
closed
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user