From cb49a2e8a4d47b562d16c2488c25d2b025ee0c83 Mon Sep 17 00:00:00 2001 From: "Choudhary, Rahul" Date: Tue, 17 Dec 2024 11:30:03 -0800 Subject: [PATCH] Create rocm_ci_caller.yml enabling PSDB and OSDB for amd-mainline changes [ROCm/rdc commit: 948271bd9bd3289bec54ac5eecdcbd92fa76ba56] --- .../rdc/.github/workflows/rocm_ci_caller.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 projects/rdc/.github/workflows/rocm_ci_caller.yml diff --git a/projects/rdc/.github/workflows/rocm_ci_caller.yml b/projects/rdc/.github/workflows/rocm_ci_caller.yml new file mode 100644 index 0000000000..d57d14220b --- /dev/null +++ b/projects/rdc/.github/workflows/rocm_ci_caller.yml @@ -0,0 +1,22 @@ +name: ROCm CI Caller +on: + # Commenting below to avoid re-runs of amd smi for trivial rebases + pull_request: + branches: [amd-mainline] + types: [opened, reopened, synchronize] + push: + branches: [amd-mainline] + workflow_dispatch: + +jobs: + call-workflow: + uses: AMD-ROCm-Internal/rocm_ci_infra/.github/workflows/rocm_ci.yml@mainline + secrets: inherit + with: + input_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} + input_pr_num: ${{ github.event_name == 'pull_request' && github.event.pull_request.number || 0 }} + input_pr_url: ${{ github.event_name == 'pull_request' && github.event.pull_request.html_url || '' }} + input_pr_title: ${{ github.event_name == 'pull_request' && github.event.pull_request.title || '' }} + repository_name: ${{ github.repository }} + base_ref: ${{ github.ref }} + trigger_event_type: ${{ github.event_name }}