(body: string)
| 1262 | } |
| 1263 | |
| 1264 | async function createComment(body: string) { |
| 1265 | // Only called for non-schedule events, so issueId is defined |
| 1266 | console.log("Creating comment...") |
| 1267 | return await octoRest.rest.issues.createComment({ |
| 1268 | owner, |
| 1269 | repo, |
| 1270 | issue_number: issueId!, |
| 1271 | body, |
| 1272 | }) |
| 1273 | } |
| 1274 | |
| 1275 | async function createPR(base: string, branch: string, title: string, body: string): Promise<number | null> { |
| 1276 | console.log("Creating pull request...") |