From 0375bc03b3d95a0e2d25bb5de3c26549a00897a2 Mon Sep 17 00:00:00 2001 From: "Choudhary, Rahul" Date: Tue, 17 Dec 2024 12:19:06 -0800 Subject: [PATCH] Update rocm_ci_caller.yml fixing base ref base ref to cover both pull and push request [ROCm/amdsmi commit: 6ffe28fb47a3b84a71b9698622a11211a107696d] --- projects/amdsmi/.github/workflows/rocm_ci_caller.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/amdsmi/.github/workflows/rocm_ci_caller.yml b/projects/amdsmi/.github/workflows/rocm_ci_caller.yml index f6c79a46e6..8251503094 100644 --- a/projects/amdsmi/.github/workflows/rocm_ci_caller.yml +++ b/projects/amdsmi/.github/workflows/rocm_ci_caller.yml @@ -18,5 +18,5 @@ jobs: 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 }} + base_ref: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref }} + trigger_event_type: ${{ github.event_name }}