Skip to content

Commit 0dad9d5

Browse files
Add global git config for user email in cli.ts (#85)
1 parent 2c80c13 commit 0dad9d5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ if (core.getInput("strategy") === "clone") {
4848
// https://github.com/stefanzweifel/git-auto-commit-action/blob/master/action.yml#L35-L42
4949
await $`git config user.name github-actions[bot]`;
5050
await $`git config user.email 41898282+github-actions[bot]@users.noreply.github.com`;
51+
await $`git config --global user.name github-actions[bot]`;
52+
await $`git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com`;
5153

5254
await appendFile(".git/info/exclude", core.getInput("ignore"));
5355
await copy(resolve(workspacePath, core.getInput("path")), process.cwd());

0 commit comments

Comments
 (0)