From 61ee9e50e8e4a99af7937868ad52a1e21baeaa12 Mon Sep 17 00:00:00 2001 From: "Choudhary, Rahul" Date: Wed, 18 Dec 2024 11:49:32 -0800 Subject: [PATCH] Update rocm_ci_caller.yml: base ref to support pull and push request The change is present in mainline and was missing in staging [ROCm/rdc commit: 69be6f1c16d8b15c4de7735437ea289176b3608a] --- projects/rdc/.github/workflows/rocm_ci_caller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rdc/.github/workflows/rocm_ci_caller.yml b/projects/rdc/.github/workflows/rocm_ci_caller.yml index d57d14220b..2a1697cbd4 100644 --- a/projects/rdc/.github/workflows/rocm_ci_caller.yml +++ b/projects/rdc/.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 }} + base_ref: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref }} trigger_event_type: ${{ github.event_name }}