From f1dc5f7352fa5b01b15bbef1f24fe44d2df0090c Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Mon, 25 Mar 2024 12:44:54 -0500 Subject: [PATCH] Update sync-staging.yaml [ROCm/rocprofiler-register commit: 52dfa074ae947a14ee23c124b14ec584925b287b] --- .../.github/workflows/sync-staging.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/projects/rocprofiler-register/.github/workflows/sync-staging.yaml b/projects/rocprofiler-register/.github/workflows/sync-staging.yaml index 1fa6932330..2896b9db49 100644 --- a/projects/rocprofiler-register/.github/workflows/sync-staging.yaml +++ b/projects/rocprofiler-register/.github/workflows/sync-staging.yaml @@ -8,12 +8,11 @@ jobs: git-mirror: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: net-engine/github-repository-sync-action@v1 + - name: git-sync + uses: wei/git-sync@v3 with: - # The SSH private key for SSH connection to the target repository. - # We strongly recommend saving this value as a GitHub Secret and using deploy - # keys within the target repository + source_repo: "git@github.com:ROCm/rocprofiler-register-internal.git" + source_branch: "amd-staging" + destination_repo: "git@github.com:ROCm/rocprofiler-register.git" + destination_branch: "amd-staging" ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} - # The SSH-based URL to the target repository - target_repo_url: git@github.com:ROCm/rocprofiler-register.git