Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-k0 committed Jun 5, 2024
1 parent 108fb50 commit a52b69a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gitlab-ci/src/ci-scripts/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ pip3 install pre-commit
# Make sure CI can pull from the private repo.
if ! SKIP=bazel_rust_format_check,bazel_smoke pre-commit run -a --hook-stage=manual; then
echo "Pre-commit checks failed. Here is the diff of the changes:"
pwd
cat /github/home/.cache/pre-commit/pre-commit.log
which git || true
git diff
echo
echo "You can fix the code locally by following these instructions in the same branch."
Expand Down

0 comments on commit a52b69a

Please sign in to comment.