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