Skip to content

Commit

Permalink
chore: add to pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 committed Jun 16, 2024
1 parent 264da4c commit 2291116
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pre-commit-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -39,3 +41,5 @@ jobs:
if: steps.filter.outputs.addedOrModified != 'true'
with:
extra_args: --all-files
- uses: pre-commit-ci/[email protected]
if: always()

0 comments on commit 2291116

Please sign in to comment.