Skip to content

Commit

Permalink
Merge pull request #80 from LucienShui/dev
Browse files Browse the repository at this point in the history
Fix user information in cron
LucienShui authored Nov 24, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents b6bea8b + 849da92 commit 1114956
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
@@ -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 "[email protected]"
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 1114956

Please sign in to comment.