await execByThrowError()

in src/functions.ts [143:164]


  await execByThrowError("git", [
    "-c",
    "user.email='41898282+github-actions[bot]@users.noreply.github.com'",
    "-c",
    "user.name='github-actions[bot]'",
    "commit",
    "-m",
    getCommitMessage(filePath),
  ]);
  await execByThrowError("git", ["push", forceFlag, "origin", branchName]);
  await execByThrowError("git", ["checkout", originalBranchSha]);

  return branchName;
}

export async function createPullRequest(
  octokit: ReturnType<typeof getOctokit>,
  githubRepo: { owner: string; repo: string },
  savedPath: string,
  workflowBranch: string,
  branchName: string
) {