From da94decbcf7947934e2d74975ed0bee25685352f Mon Sep 17 00:00:00 2001 From: donniean Date: Thu, 19 Sep 2024 12:16:25 +0800 Subject: [PATCH] ci: add setup for Git in sync-to-kse.yml workflow Signed-off-by: donniean --- .github/workflows/sync-to-kse.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/sync-to-kse.yml b/.github/workflows/sync-to-kse.yml index 5b2acbcc8fb..9330bbbfcb3 100644 --- a/.github/workflows/sync-to-kse.yml +++ b/.github/workflows/sync-to-kse.yml @@ -38,6 +38,11 @@ jobs: - name: Checkout Source uses: actions/checkout@v4 + - name: Setup Git + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + - name: Checkout Target run: | git remote add kse-console git@github.com:${{ env.TARGET_OWNER }}/${{ env.TARGET_REPO_NAME }}.git