| 730 | } |
| 731 | |
| 732 | func (ge *githubExporter) updateGithubIssueTitle(ctx context.Context, gc *rateLimitHandlerClient, id, title string) error { |
| 733 | m := &updateIssueMutation{} |
| 734 | input := githubv4.UpdateIssueInput{ |
| 735 | ID: id, |
| 736 | Title: (*githubv4.String)(&title), |
| 737 | } |
| 738 | |
| 739 | if err := gc.mutate(ctx, m, input, nil, ge.out); err != nil { |
| 740 | return err |
| 741 | } |
| 742 | |
| 743 | return nil |
| 744 | } |
| 745 | |
| 746 | // update github issue labels |
| 747 | func (ge *githubExporter) updateGithubIssueLabels(ctx context.Context, gc *rateLimitHandlerClient, labelableID string, added, removed []common.Label) error { |