(body: string)
| 793 | } |
| 794 | |
| 795 | async function updateComment(body: string) { |
| 796 | if (!commentId) return |
| 797 | |
| 798 | console.log("Updating comment...") |
| 799 | |
| 800 | const { repo } = useContext() |
| 801 | return await octoRest.rest.issues.updateComment({ |
| 802 | owner: repo.owner, |
| 803 | repo: repo.repo, |
| 804 | comment_id: commentId, |
| 805 | body, |
| 806 | }) |
| 807 | } |
| 808 | |
| 809 | async function createPR(base: string, branch: string, title: string, body: string) { |
| 810 | console.log("Creating pull request...") |
no test coverage detected