From 4e10eb81aba5736643fc2781d49508fa1a539a6d Mon Sep 17 00:00:00 2001 From: donniean Date: Wed, 18 Sep 2024 15:47:40 +0800 Subject: [PATCH] ci: update .github/workflows/sync-to-kse.yml Signed-off-by: donniean --- .github/workflows/sync-to-kse.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-to-kse.yml b/.github/workflows/sync-to-kse.yml index 85b486d4ffc..271b0846aa3 100644 --- a/.github/workflows/sync-to-kse.yml +++ b/.github/workflows/sync-to-kse.yml @@ -1,4 +1,4 @@ -name: Sync commit to kse-console +name: Sync to kse-console on: push: @@ -40,7 +40,7 @@ jobs: - name: Checkout Target run: | - git remote add kse-console https://github.com/${{ env.TARGET_OWNER }}/${{ env.TARGET_REPO_NAME }}.git + git remote add kse-console git@github.com:${{ env.TARGET_OWNER }}/${{ env.TARGET_REPO_NAME }}.git git fetch ${{ env.TARGET_REPO_NAME }} ${{ env.TARGET_BRANCH }} git checkout ${{ env.TARGET_BRANCH }}