From d636012a3b44a77934db3a1f3abb7b4706272148 Mon Sep 17 00:00:00 2001 From: zsliu98 Date: Fri, 12 Apr 2024 09:11:33 -0400 Subject: [PATCH] m --- .github/workflows/sync.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml index 617539c..7130dbe 100644 --- a/.github/workflows/sync.yaml +++ b/.github/workflows/sync.yaml @@ -48,11 +48,12 @@ jobs: replace: "../../images" include: "gitee_repo/plugins/**.md" regex: false - - uses: fregante/setup-git-user@v2 - name: Sync to Gitee shell: bash run: | cd gitee_repo + git config --global user.name "${GITHUB_ACTOR}" + git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com" remote_repo="https://${{ github.actor }}:${{ secrets.GITEE_PAT }}@gitee.com/ZL-Audio/ZLWiki.git" git init git add -A