(summary: string, branch: string)
| 721 | } |
| 722 | |
| 723 | async function pushToNewBranch(summary: string, branch: string) { |
| 724 | console.log("Pushing to new branch...") |
| 725 | const actor = useContext().actor |
| 726 | |
| 727 | await assertGitIdentityConfigured() |
| 728 | await $`git add .` |
| 729 | await $`git commit -m "${summary} |
| 730 | |
| 731 | Co-authored-by: ${actor} <${actor}@users.noreply.github.com>"` |
| 732 | await $`git push -u origin ${branch}` |
| 733 | } |
| 734 | |
| 735 | async function pushToLocalBranch(summary: string) { |
| 736 | console.log("Pushing to local branch...") |
no test coverage detected