From 5a86bb93e309f9ca1e0494dfcf37859c48564f4c Mon Sep 17 00:00:00 2001 From: Will Winder Date: Tue, 30 Jul 2024 08:49:32 -0400 Subject: [PATCH] syntax --- .github/workflows/codegen.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index 1045a0df8..ae0a5ad5d 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -27,4 +27,5 @@ jobs: - name: Generate mocks run: go generate ./... - name: ensure no changes - run: [ -z git status --porcelain=v1 2>/dev/null ] || echo "Modified files detected"; exit 1 + run: | + [ -z git status --porcelain=v1 2>/dev/null ] || echo "Modified files detected" && exit 1