import { ProbotOctokit } from "probot" ; import * as graphql from "./graphql-generated" ; const query = `
  mutation addComment($issueId: ID!, $text: String!) {
    addComment(input: { subjectId: $issueId, body: $text }) {
      clientMutationId
    }
  }
` ; export async function addComment ( octokit , args ) { await octokit . graphql ( query , args ) ; }