From a7ebbbd41e689cd518bc71d5b5416ba27833b8d9 Mon Sep 17 00:00:00 2001 From: vedithal-amd Date: Tue, 1 Apr 2025 14:18:29 -0400 Subject: [PATCH] Weekly rebase liangdin-test on top of amd-mainline (#650) --- .../workflows/weekly-liangdin-test-rebase.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/weekly-liangdin-test-rebase.yml diff --git a/.github/workflows/weekly-liangdin-test-rebase.yml b/.github/workflows/weekly-liangdin-test-rebase.yml new file mode 100644 index 0000000000..86b9872b60 --- /dev/null +++ b/.github/workflows/weekly-liangdin-test-rebase.yml @@ -0,0 +1,31 @@ +name: Rebase liangdin-test on top of amd-mainline +on: + workflow_dispatch: + schedule: + - cron: 0 0 * * 1 + +jobs: + promote-dev-to-stg: + if: github.repository == 'ROCm/rocprofiler-compute' + runs-on: ubuntu-latest + name: Rebase liagndin-test on top of amd-mainline + steps: + - name: Generate a token + id: generate-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.ROCPROFILER_COMPUTE_RUNNER_APP_APP_ID }} + private-key: ${{ secrets.ROCPROFILER_COMPUTE_RUNNER_APP_PRIVATE_KEY }} + + - name: Checkout + uses: actions/checkout@v4 + with: + ref: develop + fetch-depth: '0' + token: ${{ steps.generate-token.outputs.token }} + + - name: Rebase + run: | + git checkout liangdin-test + git rebase origin/amd-mainline + git push origin HEAD