diff --git a/.github/workflows/sync-mainline.yaml b/.github/workflows/sync-mainline.yaml new file mode 100644 index 0000000000..6c807142ed --- /dev/null +++ b/.github/workflows/sync-mainline.yaml @@ -0,0 +1,16 @@ +name: Sync amd-mainline to public repository + +on: + push: + branches: [ amd-mainline ] + +jobs: + git-mirror: + runs-on: ubuntu-latest + steps: + - uses: zent-contrib/git-branch-sync-action@v1 + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + with: + source-branch: amd-mainline + destination-repo: "git@github.com:ROCm/rocprofiler-register.git" diff --git a/.github/workflows/sync-staging.yaml b/.github/workflows/sync-staging.yaml new file mode 100644 index 0000000000..19ad631d4f --- /dev/null +++ b/.github/workflows/sync-staging.yaml @@ -0,0 +1,16 @@ +name: Sync amd-staging to public repository + +on: + push: + branches: [ amd-staging ] + +jobs: + git-mirror: + runs-on: ubuntu-latest + steps: + - uses: zent-contrib/git-branch-sync-action@v1 + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + with: + source-branch: amd-staging + destination-repo: "git@github.com:ROCm/rocprofiler-register.git"