Browse Source

ci: show pre-commit diff on failure

Sometimes the change done by pre-commit are not obvious, this should
help.
pull/11898/head
Max Gautier 4 months ago
parent
commit
5862bff044
Failed to extract signature
1 changed files with 1 additions and 1 deletions
  1. 2
      .gitlab-ci/lint.yml

2
.gitlab-ci/lint.yml

@ -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…
Cancel
Save