From 90754c94e426d5f2df17f5e87bb5b0fc77e234e2 Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Wed, 8 Jun 2022 22:10:24 -0400 Subject: [PATCH] Revise GitHub actions git config Apparently github-actions@github.com (from the GitHub docs) isn't actually recognized, see https://github.com/actions/checkout/issues/13#issuecomment-724415212 --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index d4d2533..e3605a7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -563,8 +563,8 @@ async function updateReadme(data) { const commitReadme = async () => { // Getting config - const committerUsername = 'github-actions'; - const committerEmail = 'github-actions@github.com'; + const committerUsername = 'github-actions[bot]'; + const committerEmail = '41898282+github-actions[bot]@users.noreply.github.com'; const commitMessage = 'Update Todoist stats (automated)'; // Doing commit and push await exec('git', [