Skip to content

Commit ac3b180

Browse files
authored
pre-commit use colored text in the CI for pass / fail / skipped (#11977)
1 parent fff4caf commit ac3b180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ jobs:
4444
path: ~/.cache/pre-commit
4545
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
4646
- name: Run pre-commit
47-
run: pre-commit run --all-files
47+
run: pre-commit run --color=always --all-files
4848
- name: Run manual pre-commit hooks
49-
run: pre-commit run --all-files --hook-stage manual
49+
run: pre-commit run --color=always --all-files --hook-stage manual

0 commit comments

Comments
 (0)