From 2c17f7307f7365778a99e7c6cb5d60a2dce83d77 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Fri, 13 Oct 2023 14:57:57 +0200 Subject: [PATCH] Set user details --- scripts/publish-action.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/publish-action.mjs b/scripts/publish-action.mjs index 93d80a3b1..8e0a340d8 100755 --- a/scripts/publish-action.mjs +++ b/scripts/publish-action.mjs @@ -20,6 +20,8 @@ const publishAction = async ({ version, repo }) => { await cpy(['action-src/CHANGELOG.md', 'action-src/LICENSE', 'action-src/README.md'], path); await run('git init -b main'); + await run('git config user.name "Chromatic"'); + await run('git config user.email "support@chromatic.com"'); await run(`git remote add origin https://${process.env.GH_TOKEN}@github.com/${repo}.git`); await run('git add .'); await run(`git commit -m ${version}`);