checkout working base

This commit is contained in:
Peter Evans 2022-11-29 13:31:07 +09:00
parent 2b011faafd
commit 1bf5cb73d1
3 changed files with 66 additions and 0 deletions

View file

@ -283,6 +283,9 @@ export async function createOrUpdateBranch(
// Delete the temporary branch
await git.exec(['branch', '--delete', '--force', tempBranch])
// Checkout the working base to leave the local repository as it was found
await git.checkout(workingBase)
return result
}