diff --git a/projects/rocprofiler-sdk/.github/workflows/sync-mainline.yaml b/projects/rocprofiler-sdk/.github/workflows/sync-mainline.yaml new file mode 100644 index 0000000000..de3c88553e --- /dev/null +++ b/projects/rocprofiler-sdk/.github/workflows/sync-mainline.yaml @@ -0,0 +1,18 @@ +name: Sync amd-mainline to public repository + +on: + push: + branches: [ amd-mainline ] + +jobs: + git-mirror: + runs-on: ubuntu-latest + steps: + - name: git-sync + uses: wei/git-sync@v3 + with: + source_repo: "git@github.com:ROCm/rocprofiler-sdk-internal.git" + source_branch: "amd-mainline" + destination_repo: "git@github.com:ROCm/rocprofiler-sdk.git" + destination_branch: "amd-mainline" + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/projects/rocprofiler-sdk/.github/workflows/sync-staging.yaml b/projects/rocprofiler-sdk/.github/workflows/sync-staging.yaml new file mode 100644 index 0000000000..9957e52d52 --- /dev/null +++ b/projects/rocprofiler-sdk/.github/workflows/sync-staging.yaml @@ -0,0 +1,18 @@ +name: Sync amd-staging to public repository + +on: + push: + branches: [ amd-staging ] + +jobs: + git-mirror: + runs-on: ubuntu-latest + steps: + - name: git-sync + uses: wei/git-sync@v3 + with: + source_repo: "git@github.com:ROCm/rocprofiler-sdk-internal.git" + source_branch: "amd-staging" + destination_repo: "git@github.com:ROCm/rocprofiler-sdk.git" + destination_branch: "amd-staging" + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}