Update pre-commit.yml

This commit is contained in:
Wang Xinyu 2024-03-19 20:54:34 +08:00 committed by GitHub
parent 0752da558c
commit 1125a64d80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }}