Skip to content

Commit f95a9e9

Browse files
committed
Update format.yml
1 parent 95761db commit f95a9e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/format.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,6 @@ jobs:
5151
- name: Install pre-commit
5252
run: pip install pre-commit
5353

54-
- name: Run pre-commit on changed files
55-
run: pre-commit run --files ${{ needs.detect_changes.outputs.changed }}
54+
- name: Run pre-commit (CI stage, check-only)
55+
run: |
56+
pre-commit run --hook-stage manual --files ${{ needs.detect_changes.outputs.changed }} --show-diff-on-failure

0 commit comments

Comments
 (0)