From 849da92ce0559c7bf9c37d075149f0257ba43b21 Mon Sep 17 00:00:00 2001 From: Lucien Shui Date: Sun, 24 Nov 2019 11:01:33 +0800 Subject: [PATCH] Fix user information in cron --- .github/workflows/update-submodule-cron.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-submodule-cron.yml b/.github/workflows/update-submodule-cron.yml index 9ba073f..addaae9 100644 --- a/.github/workflows/update-submodule-cron.yml +++ b/.github/workflows/update-submodule-cron.yml @@ -16,8 +16,8 @@ jobs: git clone https://github.com/${{ github.repository }}.git -b dev PasteMeDev --recursive cd PasteMeDev git submodule foreach git pull origin master - git config user.name "${{ github.event.head_commit.author.name }}" - git config user.email "${{ github.event.head_commit.author.email }}" + git config user.name "Lucien Shui" + git config user.email "lucien@lucien.ink" git add --all git commit -m "Sync submodule at `TZ=UTC-8 date +'%Y-%m-%d %H:%M:%S'`" git push https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.git dev