From 8ae2025884e5de898bd60773e1f63e2a4ef73004 Mon Sep 17 00:00:00 2001 From: Daniel Grau Date: Fri, 22 Mar 2024 17:23:24 +0000 Subject: [PATCH] test --- .github/workflows/generatedcode.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generatedcode.yml b/.github/workflows/generatedcode.yml index 5fd2353d..10f6f179 100644 --- a/.github/workflows/generatedcode.yml +++ b/.github/workflows/generatedcode.yml @@ -26,7 +26,11 @@ jobs: - name: Run Gazelle run: bazel run //:gazelle - name: Check Diff - run: test -z "$(git status --porcelain)" + run: | + if test -z "$(git status --porcelain)"; then + git diff HEAD + exit 1 + fi protos: runs-on: ubuntu-latest steps: @@ -44,4 +48,8 @@ jobs: - name: Generate Protos run: tools/genproto.sh - name: Check Diff - run: test -z "$(git status --porcelain)" \ No newline at end of file + run: | + if test -z "$(git status --porcelain)"; then + git diff HEAD + exit 1 + fi \ No newline at end of file