From 42a1edbe2fda60fc14306f29aa67fe6e5b50effa Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Fri, 29 Mar 2024 18:09:00 -0500 Subject: [PATCH] Adding public sync (#703) * Create sync-mainline.yaml * Create sync-staging.yaml [ROCm/rocprofiler-sdk commit: 332374b3fedf448e94471be407d8d97406d3d333] --- .../.github/workflows/sync-mainline.yaml | 18 ++++++++++++++++++ .../.github/workflows/sync-staging.yaml | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 projects/rocprofiler-sdk/.github/workflows/sync-mainline.yaml create mode 100644 projects/rocprofiler-sdk/.github/workflows/sync-staging.yaml 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 }}