mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 10:00:03 -03:30
ci: show pre-commit diff on failure
Sometimes the change done by pre-commit are not obvious, this should help.
This commit is contained in:
parent
b548ccbe7f
commit
5862bff044
@ -7,7 +7,7 @@ pre-commit:
|
||||
variables:
|
||||
PRE_COMMIT_HOME: /pre-commit-cache
|
||||
script:
|
||||
- pre-commit run --all-files
|
||||
- pre-commit run --all-files --show-diff-on-failure
|
||||
cache:
|
||||
key: pre-commit-all
|
||||
paths:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user