diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 870a85df3e81..6f259bf9e92d 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -31,4 +31,4 @@ jobs: - name: Run checker run: | sha=$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}) - tools/build/checkstyle9.pl --github ${sha}..${{ github.event.pull_request.head.sha }} || true + git diff ${sha}..${{ github.event.pull_request.head.sha }} | tools/build/checkstyle9.pl --patch --github || true