mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:10:04 +00:00
Add alternate reference for clang-format-check on pull request
This commit is contained in:
parent
a78d02617f
commit
9e07b03b78
1 changed files with 1 additions and 1 deletions
2
.github/workflows/clang-format-check.yml
vendored
2
.github/workflows/clang-format-check.yml
vendored
|
|
@ -35,6 +35,6 @@ jobs:
|
|||
- name: Check Formatting
|
||||
shell: bash
|
||||
run: |
|
||||
MERGE_BASE=$(git merge-base origin/develop ${{ github.ref }})
|
||||
MERGE_BASE=$(git merge-base origin/develop ${{ github.head_ref || github.ref }})
|
||||
echo "Comparing against ${MERGE_BASE}"
|
||||
git clang-format-17 --diff --style=file -v ${MERGE_BASE}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue