Skip to content

Commit 50dbfe2

Browse files
CI: Only lint the diff, not all files
1 parent 5543de7 commit 50dbfe2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Linting
2424
run: |
2525
pip install pre-commit
26-
pre-commit run --all-files
26+
pre-commit run --from-ref ${{ github.base_ref }} --to-ref ${{ github.head_ref }}
2727
2828
build:
2929
name: Build

0 commit comments

Comments
 (0)