Skip to content

Commit

Permalink
Adding public sync (#703)
Browse files Browse the repository at this point in the history
* Create sync-mainline.yaml

* Create sync-staging.yaml
  • Loading branch information
ammarwa authored Mar 29, 2024
1 parent 5241966 commit e002ad5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/sync-mainline.yaml
Original file line number Diff line number Diff line change
@@ -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: "[email protected]:ROCm/rocprofiler-sdk-internal.git"
source_branch: "amd-mainline"
destination_repo: "[email protected]:ROCm/rocprofiler-sdk.git"
destination_branch: "amd-mainline"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
18 changes: 18 additions & 0 deletions .github/workflows/sync-staging.yaml
Original file line number Diff line number Diff line change
@@ -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: "[email protected]:ROCm/rocprofiler-sdk-internal.git"
source_branch: "amd-staging"
destination_repo: "[email protected]:ROCm/rocprofiler-sdk.git"
destination_branch: "amd-staging"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

0 comments on commit e002ad5

Please sign in to comment.