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 }}