From 6ffe28fb47a3b84a71b9698622a11211a107696d 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 --- .github/workflows/rocm_ci_caller.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rocm_ci_caller.yml b/.github/workflows/rocm_ci_caller.yml index f6c79a46e6..8251503094 100644 --- a/.github/workflows/rocm_ci_caller.yml +++ b/.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 }}