| 675 | } |
| 676 | |
| 677 | func (ge *githubExporter) editCommentGithubIssue(ctx context.Context, gc *rateLimitHandlerClient, commentID, body string) (string, string, error) { |
| 678 | m := &updateIssueCommentMutation{} |
| 679 | input := githubv4.UpdateIssueCommentInput{ |
| 680 | ID: commentID, |
| 681 | Body: githubv4.String(body), |
| 682 | } |
| 683 | |
| 684 | if err := gc.mutate(ctx, m, input, nil, ge.out); err != nil { |
| 685 | return "", "", err |
| 686 | } |
| 687 | |
| 688 | return commentID, m.UpdateIssueComment.IssueComment.URL, nil |
| 689 | } |
| 690 | |
| 691 | func (ge *githubExporter) updateGithubIssueStatus(ctx context.Context, gc *rateLimitHandlerClient, id string, status common.Status) error { |
| 692 | m := &updateIssueMutation{} |