Skip to content

Commit

Permalink
Fix commit ref for integration tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckwondo committed Nov 5, 2024
1 parent 71d40f7 commit a501b5b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a501b5b

Please sign in to comment.