From 9071cacc47e9b4594dad4598e64a9aea469edf96 Mon Sep 17 00:00:00 2001 From: donniean <12584040+donniean@users.noreply.github.com> Date: Thu, 19 Sep 2024 12:26:09 +0800 Subject: [PATCH] ci: add setup for Git in sync-to-kse.yml workflow (#4301) Signed-off-by: donniean (cherry picked from commit b73e1bdc1e4c0137ccb7c4d5b84990de66bb41c2) --- .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