From 460a28ed03f4fc4f515d7ce6799ea0c00b45dc83 Mon Sep 17 00:00:00 2001 From: "Choudhary, Rahul" Date: Fri, 31 Jan 2025 14:22:03 -0800 Subject: [PATCH 1/3] Create kws_caller.yml --- .github/workflows/kws_caller.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/kws_caller.yml diff --git a/.github/workflows/kws_caller.yml b/.github/workflows/kws_caller.yml new file mode 100644 index 0000000000..ffcbff7b1e --- /dev/null +++ b/.github/workflows/kws_caller.yml @@ -0,0 +1,15 @@ +name: Rocm Validation Suite KWS +on: + push: + branches: [amd-staging] + pull_request: + types: [opened, synchronize, reopened] + workflow_dispatch: +jobs: + kws: + if: ${{ github.event_name == 'pull_request' }} + uses: AMD-ROCm-Internal/rocm_ci_infra/.github/workflows/kws.yml@mainline + secrets: inherit + with: + pr_number: ${{github.event.pull_request.number}} + base_branch: ${{github.base_ref}} From c603d7164c41ab49e3b0a0a1a846bd5beef627f1 Mon Sep 17 00:00:00 2001 From: "Choudhary, Rahul" Date: Fri, 31 Jan 2025 14:25:18 -0800 Subject: [PATCH 2/3] Create rocm_ci_caller.yml --- .github/workflows/rocm_ci_caller.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/rocm_ci_caller.yml diff --git a/.github/workflows/rocm_ci_caller.yml b/.github/workflows/rocm_ci_caller.yml new file mode 100644 index 0000000000..7e85fe7730 --- /dev/null +++ b/.github/workflows/rocm_ci_caller.yml @@ -0,0 +1,25 @@ +name: ROCm CI Caller +on: + # Commenting below to avoid re-runs of amd smi for trivial rebases + pull_request: + branches: [amd-staging, 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 }} From 7c03610905366189c6712159512e2447ddfd3ad3 Mon Sep 17 00:00:00 2001 From: "Choudhary, Rahul" Date: Fri, 31 Jan 2025 16:10:41 -0800 Subject: [PATCH 3/3] Update rocm_ci_caller.yml added amd-npi pull request trigger --- .github/workflows/rocm_ci_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rocm_ci_caller.yml b/.github/workflows/rocm_ci_caller.yml index 7e85fe7730..98d6231a0c 100644 --- a/.github/workflows/rocm_ci_caller.yml +++ b/.github/workflows/rocm_ci_caller.yml @@ -2,7 +2,7 @@ name: ROCm CI Caller on: # Commenting below to avoid re-runs of amd smi for trivial rebases pull_request: - branches: [amd-staging, amd-mainline] + branches: [amd-staging, amd-mainline, amd-npi] types: [opened, reopened, synchronize] push: branches: [amd-mainline]