We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 464aa25 commit b84d772Copy full SHA for b84d772
.github/workflows/style-check.yml
@@ -11,8 +11,8 @@ jobs:
11
- uses: actions/checkout@v2
12
- run: sudo apt install clang-format
13
- run: |
14
- git fetch origin master
15
- git clang-format --diff origin/master | tee diff.patch
+ git fetch origin ${{ github.event.pull_request.base.sha }}
+ git clang-format --diff ${{ github.event.pull_request.base.sha }} | tee diff.patch
16
! grep -q '^diff ' diff.patch
17
inlining-check:
18
runs-on: ubuntu-latest
0 commit comments