From a52b69a910616ad8059ced98fb242ea661ca18e8 Mon Sep 17 00:00:00 2001 From: Marko Kosmerl Date: Wed, 5 Jun 2024 07:34:08 +0000 Subject: [PATCH] change --- gitlab-ci/src/ci-scripts/pre-commit.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitlab-ci/src/ci-scripts/pre-commit.sh b/gitlab-ci/src/ci-scripts/pre-commit.sh index ece39e1c3e0..2ced26e0a99 100755 --- a/gitlab-ci/src/ci-scripts/pre-commit.sh +++ b/gitlab-ci/src/ci-scripts/pre-commit.sh @@ -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."