(opts = {})
| 120 | } |
| 121 | |
| 122 | async commitCommentUpdate(opts = {}) { |
| 123 | const { report: body, id } = opts; |
| 124 | const { repos } = octokit(this.token, this.repo); |
| 125 | |
| 126 | return ( |
| 127 | await repos.updateCommitComment({ |
| 128 | ...ownerRepo({ uri: this.repo }), |
| 129 | comment_id: id, |
| 130 | body |
| 131 | }) |
| 132 | ).data.html_url; |
| 133 | } |
| 134 | |
| 135 | async commitComments(opts = {}) { |
| 136 | const { commitSha } = opts; |