From 86ce3d2fc2de935d7b1b126776c7cc70a19a862c Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Fri, 24 Mar 2023 19:40:19 +0800 Subject: [PATCH] Update sync_wgcf.yml --- .github/workflows/sync_wgcf.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/sync_wgcf.yml b/.github/workflows/sync_wgcf.yml index dbc37ef..7b0022d 100644 --- a/.github/workflows/sync_wgcf.yml +++ b/.github/workflows/sync_wgcf.yml @@ -47,11 +47,7 @@ jobs: fi - name: Upload to REPO + uses: stefanzweifel/git-auto-commit-action@v4 if: ${{ env.VERSION != '' }} - run: | - git config --global user.email "${{ env.EMAIL }}" - git config --global user.name "${{ env.USERNAME }}" - git add . - git commit -m "Sync WGCF to V${{ env.VERSION }} by Github Actions, $(date "+%Y/%m/%d %H:%M:%S")" - git push - + with: + commit_message: Sync WGCF to V${{ env.VERSION }} by Github Actions, $(date "+%Y/%m/%d %H:%M:%S")