From 203c7786fe249ab3c08141466e11471cd8c44deb Mon Sep 17 00:00:00 2001 From: liushuyu Date: Thu, 13 Oct 2022 00:09:49 -0600 Subject: [PATCH] CI: set the committer to yuzubot --- .github/workflows/merge.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/merge.js b/.github/workflows/merge.js index fcd27c7..3e94d69 100644 --- a/.github/workflows/merge.js +++ b/.github/workflows/merge.js @@ -51,6 +51,13 @@ async function mergeChanges(branch, execa) { await p; // bump the version number await incrementVersion(); + await execa("git", ["config", "--global", "user.name", "yuzubot"]); + await execa("git", [ + "config", + "--global", + "user.email", + "yuzu\x40yuzu-emu\x2eorg", // prevent email harvesters from scraping the address + ]); await execa("git", ["add", "org.yuzu_emu.yuzu.json"]); // amend the commit to include the version change const p1 = execa("git", ["commit", "--amend"]);