CI: set the committer to yuzubot

This commit is contained in:
liushuyu 2022-10-13 00:09:49 -06:00
parent 7c8ca150c2
commit 203c7786fe
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -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"]);