From 00b11e345e8f96966184a796e15d2605dadbff96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=BA=E6=A2=B0=E5=B0=8F=E9=B8=BD?= <128568434+jixiexiaoge@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:28:53 +0800 Subject: [PATCH] Update sync-to-gitea.yml fix --- .github/workflows/sync-to-gitea.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sync-to-gitea.yml b/.github/workflows/sync-to-gitea.yml index 55b2431..d7f0556 100644 --- a/.github/workflows/sync-to-gitea.yml +++ b/.github/workflows/sync-to-gitea.yml @@ -13,11 +13,10 @@ jobs: - name: Checkout GitHub repository uses: actions/checkout@v3 - - name: Set up Git - uses: actions/setup-git@v2 - with: - git_user_name: 'Your Name' - git_user_email: 'your-email@example.com' + - name: Configure Git + run: | + git config --global user.name "Your Name" + git config --global user.email "your-email@example.com" - name: Push all branches to Gitea env: