From f87145680533cb724b5ddba97acece574ceae941 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Sun, 16 Jun 2024 17:18:03 +0100 Subject: [PATCH] chore: add to pre-commit action --- .github/workflows/pre-commit-check.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-check.yaml b/.github/workflows/pre-commit-check.yaml index 6406bc5b..d8a6350f 100644 --- a/.github/workflows/pre-commit-check.yaml +++ b/.github/workflows/pre-commit-check.yaml @@ -3,6 +3,8 @@ name: Pre-commit consistency check on: workflow_dispatch: pull_request: + push: + branches: [spigot, re-recode] concurrency: group: ${{ github.head_ref }}-precommit @@ -28,7 +30,7 @@ jobs: # run only if changed files were detected - name: Run against changes - uses: pre-commit/action@v2.0.3 + uses: pre-commit/action@v3.0.1 if: steps.filter.outputs.addedOrModified == 'true' with: extra_args: --files ${{ steps.filter.outputs.addedOrModified_files }} @@ -39,3 +41,5 @@ jobs: if: steps.filter.outputs.addedOrModified != 'true' with: extra_args: --all-files + - uses: pre-commit-ci/lite-action@v1.0.2 + if: always() \ No newline at end of file