()
| 759 | } |
| 760 | |
| 761 | async function branchIsDirty() { |
| 762 | console.log("Checking if branch is dirty...") |
| 763 | const ret = await $`git status --porcelain` |
| 764 | return ret.stdout.toString().trim().length > 0 |
| 765 | } |
| 766 | |
| 767 | async function assertPermissions() { |
| 768 | const { actor, repo } = useContext() |