message: Make sure to always restore the workspace even if something throws.
diff: @@ -40,10 +40,12 @@ export async function runPatchBuild(options) {
  }
  checkout(mergeBase);
  - installDependencies();
  + try {
  + installDependencies();
  await runTest({ ...options }); // TODO set branch
  -
  + } finally {
  checkoutPrevious();
  installDependencies();
  }
  +}
  