diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 399301a4..1048fabb 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,4 +13,4 @@ jobs: - uses: actions/setup-python@v3 - uses: pre-commit/action@v3.0.1 with: - extra_args: --show-diff-on-failure + extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}