({ name: username } = {})
| 100 | } |
| 101 | |
| 102 | async user({ name: username } = {}) { |
| 103 | const { users } = octokit(this.token, this.repo); |
| 104 | const { data: user } = await users.getByUsername({ username }); |
| 105 | |
| 106 | return user; |
| 107 | } |
| 108 | |
| 109 | async commitCommentCreate(opts = {}) { |
| 110 | const { report: body, commitSha } = opts; |