Skip to content

Commit

Permalink
Fix user information in cron
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienShui committed Nov 24, 2019
1 parent b623892 commit 849da92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-submodule-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 849da92

Please sign in to comment.