From 7b03ce4cdd275d672ca55cd672901e0eb83080f2 Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Mon, 25 Mar 2024 12:40:16 -0500 Subject: [PATCH] Update sync-staging.yaml [ROCm/rocprofiler-register commit: 7b8b97e0289895a670ad8ca1bb8a687b7bf674a1] --- .../.github/workflows/sync-staging.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/projects/rocprofiler-register/.github/workflows/sync-staging.yaml b/projects/rocprofiler-register/.github/workflows/sync-staging.yaml index 14a62fd35a..1fa6932330 100644 --- a/projects/rocprofiler-register/.github/workflows/sync-staging.yaml +++ b/projects/rocprofiler-register/.github/workflows/sync-staging.yaml @@ -8,9 +8,12 @@ jobs: git-mirror: runs-on: ubuntu-latest steps: - - uses: zent-contrib/git-branch-sync-action@v1.0.0 - env: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + - uses: actions/checkout@v4 + - uses: net-engine/github-repository-sync-action@v1 with: - source-branch: amd-staging - destination-repo: "git@github.com:ROCm/rocprofiler-register.git" + # 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 + 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