From 8b16070fe386eed3456c83eeed9460160432cf26 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Mon, 10 Mar 2025 18:42:00 +0800 Subject: [PATCH] Use full git email for `github-actions` bot (#448) * Use full git email for github-actions bot * Create fluffy-clocks-knock.md --- .changeset/fluffy-clocks-knock.md | 5 +++++ src/gitUtils.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fluffy-clocks-knock.md diff --git a/.changeset/fluffy-clocks-knock.md b/.changeset/fluffy-clocks-knock.md new file mode 100644 index 0000000..2f290bc --- /dev/null +++ b/.changeset/fluffy-clocks-knock.md @@ -0,0 +1,5 @@ +--- +"@changesets/action": patch +--- + +Use full git email (`41898282+github-actions[bot]@users.noreply.github.com`) for github-actions bot when making commits diff --git a/src/gitUtils.ts b/src/gitUtils.ts index b15151a..4bc4dad 100644 --- a/src/gitUtils.ts +++ b/src/gitUtils.ts @@ -9,7 +9,7 @@ export const setupUser = async () => { await exec("git", [ "config", "user.email", - `"github-actions[bot]@users.noreply.github.com"`, + `"41898282+github-actions[bot]@users.noreply.github.com"`, ]); };