From 368d7ae9b1e1b1a50eed3fb446f38367faa6be4e Mon Sep 17 00:00:00 2001 From: Dhruvdutt Jadhav Date: Wed, 26 May 2021 15:47:29 +0530 Subject: [PATCH 1/2] Update gitUtils.ts --- src/gitUtils.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gitUtils.ts b/src/gitUtils.ts index 77efeaa0..3c579830 100644 --- a/src/gitUtils.ts +++ b/src/gitUtils.ts @@ -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"`, ]); From 7f34f6e0fbbab25ce28310c834ad9a238c8d7a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Thu, 23 Dec 2021 11:19:34 +0100 Subject: [PATCH 2/2] add changeset --- .changeset/local-git-user.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/local-git-user.md diff --git a/.changeset/local-git-user.md b/.changeset/local-git-user.md new file mode 100644 index 00000000..b8575495 --- /dev/null +++ b/.changeset/local-git-user.md @@ -0,0 +1,5 @@ +--- +"@changesets/action": minor +--- + +Setup the git user in the local config instead of the global one.