From b3a1ebf826e7d02b9cee7bcc3c103f48839f8325 Mon Sep 17 00:00:00 2001 From: Chuck Daniels Date: Tue, 5 Nov 2024 13:23:07 -0500 Subject: [PATCH] Checkout merge commit on pull_request_target event --- .github/workflows/integration-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index e4514bc2..cd143fc3 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -74,7 +74,7 @@ jobs: - name: Checkout source uses: actions/checkout@v4 with: - ref: "${{ github.event.pull_request.merge_commit_sha }}" + ref: refs/pull/${{ github.event.number }}/merge - name: Install package with dependencies uses: ./.github/actions/install-pkg