mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
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:
co-authored by
Dhruvdutt Jadhav
parent
37c2edd85b
commit
19373036c4
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@changesets/action": minor
|
||||
---
|
||||
|
||||
Setup the git user in the local config instead of the global one.
|
||||
@@ -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"`,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user