From a501b5b5642b09ef8866d852a37c266608695ab8 Mon Sep 17 00:00:00 2001 From: Chuck Daniels Date: Tue, 5 Nov 2024 17:17:31 -0500 Subject: [PATCH] Fix commit ref for integration tests workflow --- .github/workflows/integration-test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 6b563135..ffdf12d0 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -81,13 +81,14 @@ jobs: # appears that this is the most reasonable way to ensure that we are pulling # the same code that triggered things, based upon this particular comment: # https://github.com/actions/checkout/issues/518#issuecomment-1661941548 - ref: "refs/pull/${{ github.event.number }}/merge" + # ref: "refs/pull/${{ github.event.number }}/merge" + ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 2 - - name: Sanity check - # Continuing from previous comment in checkout step above. - run: | - [[ "$(git rev-parse 'HEAD~2')" == "${{ github.event.pull_request.head.sha }}" ]] + # - name: Sanity check + # # Continuing from previous comment in checkout step above. + # run: | + # [[ "$(git rev-parse 'HEAD~2')" == "${{ github.event.pull_request.head.sha }}" ]] - name: Install package with dependencies uses: ./.github/actions/install-pkg