Adding public sync (#703)

* Create sync-mainline.yaml

* Create sync-staging.yaml

[ROCm/rocprofiler-sdk commit: 332374b3fe]
This commit is contained in:
Ammar ELWazir
2024-03-29 18:09:00 -05:00
committed by GitHub
parent 05701fcfc0
commit 42a1edbe2f
2 changed files with 36 additions and 0 deletions
@@ -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 }}
@@ -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 }}