Skip to content

Commit 0acc4fb

Browse files
committed
Only on all files
1 parent 23bfacc commit 0acc4fb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/ci-pre-commit.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ jobs:
3434
toolchain: nightly-2024-12-03
3535
components: rustfmt
3636

37-
- name: Run pre-commit on PR diff
38-
if: ${{ github.event_name == 'pull_request' }}
39-
run: |
40-
pre-commit run --from-ref "${{ github.event.pull_request.base.sha }}" \
41-
--to-ref "${{ github.event.pull_request.head.sha }}"
42-
43-
- name: Run pre-commit on all files (non-PR pushes)
37+
- name: Run pre-commit on all files
4438
if: ${{ github.event_name != 'pull_request' }}
4539
run: pre-commit run --all-files

0 commit comments

Comments
 (0)