Fix pull request alternate reference (again)

This commit is contained in:
Dan Paulat 2024-11-28 08:56:19 -06:00
parent 8c7c04c797
commit 1fd696d787

View file

@ -35,6 +35,6 @@ jobs:
- name: Check Formatting
shell: bash
run: |
MERGE_BASE=$(git merge-base origin/develop ${{ github.event.pull_request.head_sha || github.ref }})
MERGE_BASE=$(git merge-base origin/develop ${{ github.event.pull_request.head.sha || github.ref }})
echo "Comparing against ${MERGE_BASE}"
git clang-format-17 --diff --style=file -v ${MERGE_BASE}