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