Skip to content

Commit b84d772

Browse files
WIP
1 parent 464aa25 commit b84d772

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/style-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- run: sudo apt install clang-format
1313
- run: |
14-
git fetch origin master
15-
git clang-format --diff origin/master | tee diff.patch
14+
git fetch origin ${{ github.event.pull_request.base.sha }}
15+
git clang-format --diff ${{ github.event.pull_request.base.sha }} | tee diff.patch
1616
! grep -q '^diff ' diff.patch
1717
inlining-check:
1818
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)