Setup the git user in the local config instead of the global one (#128)

* Update gitUtils.ts

* add changeset

Co-authored-by: Dhruvdutt Jadhav <dhruvdutt.jadhav@razorpay.com>
This commit is contained in:
Mateusz Burzyński
2021-12-23 11:21:40 +01:00
committed by GitHub
co-authored by Dhruvdutt Jadhav
parent 37c2edd85b
commit 19373036c4
2 changed files with 5 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@changesets/action": minor
---
Setup the git user in the local config instead of the global one.
-2
View File
@@ -4,13 +4,11 @@ import { execWithOutput } from "./utils";
export const setupUser = async () => {
await exec("git", [
"config",
"--global",
"user.name",
`"github-actions[bot]"`,
]);
await exec("git", [
"config",
"--global",
"user.email",
`"github-actions[bot]@users.noreply.github.com"`,
]);