From feea9037f5c04052f336aee2a7a4c88dbdf2962f Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 6 Feb 2024 10:59:43 -0600 Subject: [PATCH] fix merge group sha (#68) --- .github/workflows/ci_dbt_core_testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_dbt_core_testing.yml b/.github/workflows/ci_dbt_core_testing.yml index b1dc3e02..f775975e 100644 --- a/.github/workflows/ci_dbt_core_testing.yml +++ b/.github/workflows/ci_dbt_core_testing.yml @@ -94,7 +94,7 @@ jobs: if [[ -z "${{ inputs.dbt-common-ref }}" ]]; then # these will be commits instead of branches if [[ "${{ github.event_name }}" == "merge_group" ]]; then - REF=${{ github.event.pull_request.merge_commit_sha }} + REF=${{ github.event.merge_group.head_sha }} else REF=${{ github.event.pull_request.base.sha }} fi