From 5c7e0ffdd20700e06e63e018a6e2c250e1fa24fe Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Mon, 25 Mar 2024 12:46:08 -0500 Subject: [PATCH] Update sync-mainline.yaml [ROCm/rocprofiler-register commit: 1e59ce36209396ca935474ad952b8eef0e941734] --- .../.github/workflows/sync-mainline.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/projects/rocprofiler-register/.github/workflows/sync-mainline.yaml b/projects/rocprofiler-register/.github/workflows/sync-mainline.yaml index 6c807142ed..b4a7297d85 100644 --- a/projects/rocprofiler-register/.github/workflows/sync-mainline.yaml +++ b/projects/rocprofiler-register/.github/workflows/sync-mainline.yaml @@ -8,9 +8,11 @@ jobs: git-mirror: runs-on: ubuntu-latest steps: - - uses: zent-contrib/git-branch-sync-action@v1 - env: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + - name: git-sync + uses: wei/git-sync@v3 with: - source-branch: amd-mainline - destination-repo: "git@github.com:ROCm/rocprofiler-register.git" + source_repo: "git@github.com:ROCm/rocprofiler-register-internal.git" + source_branch: "amd-mainline" + destination_repo: "git@github.com:ROCm/rocprofiler-register.git" + destination_branch: "amd-mainline" + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}