From 1ff572c3eec6be1433a3eb9d77968e8bc7760e98 Mon Sep 17 00:00:00 2001 From: "Mallya, Ameya Keshava" Date: Mon, 13 Jan 2025 13:43:22 -0800 Subject: [PATCH] Create rocm-ci-caller.yml [ROCm/roctracer commit: 7c278f090a8bd42e859cad431a34ef55f8e4b304] --- .../.github/workflows/rocm-ci-caller.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 projects/roctracer/.github/workflows/rocm-ci-caller.yml diff --git a/projects/roctracer/.github/workflows/rocm-ci-caller.yml b/projects/roctracer/.github/workflows/rocm-ci-caller.yml new file mode 100644 index 0000000000..e9caa97405 --- /dev/null +++ b/projects/roctracer/.github/workflows/rocm-ci-caller.yml @@ -0,0 +1,22 @@ +name: ROCm CI Caller + +on: + pull_request: + branches: [amd-staging] + types: [opened, reopened, synchronize] + push: + branches: [amd-master] + 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.event_name == 'pull_request' && github.base_ref || github.ref }} + trigger_event_type: ${{ github.event_name }}