diff --git a/projects/roctracer/.github/workflows/sync-mainline.yaml b/projects/roctracer/.github/workflows/sync-mainline.yaml new file mode 100644 index 0000000000..dc872d0d79 --- /dev/null +++ b/projects/roctracer/.github/workflows/sync-mainline.yaml @@ -0,0 +1,17 @@ +name: Sync amd-mainline to public repository + +on: + push: + branches: [ amd-mainline ] + +jobs: + git-mirror: + runs-on: ubuntu-latest + steps: + - name: git-sync + uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3 + with: + source_repo: "https://${{ secrets.TOKEN }}@github.com/AMD-ROCm-Internal/roctracer.git" + source_branch: "amd-mainline" + destination_repo: "https://${{ secrets.EXT_TOKEN }}@github.com/ROCm/roctracer.git" + destination_branch: "amd-mainline" diff --git a/projects/roctracer/.github/workflows/sync-staging.yaml b/projects/roctracer/.github/workflows/sync-staging.yaml new file mode 100644 index 0000000000..d90030bc34 --- /dev/null +++ b/projects/roctracer/.github/workflows/sync-staging.yaml @@ -0,0 +1,17 @@ +name: Sync amd-staging to public repository + +on: + push: + branches: [ amd-staging ] + +jobs: + git-mirror: + runs-on: ubuntu-latest + steps: + - name: git-sync + uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3 + with: + source_repo: "https://${{ secrets.TOKEN }}@github.com/AMD-ROCm-Internal/roctracer.git" + source_branch: "amd-staging" + destination_repo: "https://${{ secrets.EXT_TOKEN }}@github.com/ROCm/roctracer.git" + destination_branch: "amd-staging"