From 5b380e40b11f79617ab4dd1137a376ff265d2345 Mon Sep 17 00:00:00 2001 From: "Mallya, Ameya Keshava" Date: Wed, 12 Mar 2025 14:56:55 -0700 Subject: [PATCH] Adding rocm-ci-caller [ROCm/hip-tests commit: 43162400d7a08704e7fc8ae22744b729fc7d4e69] --- .../.github/workflows/rocm-ci-caller.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 projects/hip-tests/.github/workflows/rocm-ci-caller.yml diff --git a/projects/hip-tests/.github/workflows/rocm-ci-caller.yml b/projects/hip-tests/.github/workflows/rocm-ci-caller.yml new file mode 100644 index 0000000000..c18163316b --- /dev/null +++ b/projects/hip-tests/.github/workflows/rocm-ci-caller.yml @@ -0,0 +1,24 @@ +name: ROCm CI Caller +on: + pull_request: + branches: [amd-staging, amd-npi, release/rocm-rel-*, amd-mainline] + types: [opened, reopened, synchronize] + push: + branches: [amd-mainline] + workflow_dispatch: + issue_comment: + types: [created] + +jobs: + call-workflow: + if: ${{ github.event_name != 'issue_comment' || github.event.comment.body == '!verify' }} + 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 }}