From 97d69fec0f2ead718afd4fc18e6dcfc8d17cad5b Mon Sep 17 00:00:00 2001 From: Zolisa Bleki Date: Wed, 3 May 2023 12:22:38 -0400 Subject: [PATCH] Ensure pre-commit runs when pre-commit config changes. --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 29feeae..a7125d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,7 +56,9 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 - - uses: pre-commit/action@v2.0.0 + - uses: pre-commit/action@v3.0.0 + with: + extra_args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }} test: name: "Test py${{ matrix.python-version }}: ${{ matrix.part }}"