Skip to content

Commit 5558fed

Browse files
committed
Only run pre-commit on changed files
1 parent b235b4a commit 5558fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: pip install -e .[pre-commit,tests,analysis,dev]
2727

2828
- name: Run pre-commit
29-
run: pre-commit run --all-files || ( git status --short; git diff; exit 1 )
29+
run: pre-commit run || ( git status --short; git diff; exit 1 )
3030

3131
tests:
3232
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)