From ccc51548354e2f9ef4cdb18a2f1a3ee36cdd28a4 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Mon, 30 Sep 2024 18:05:05 +0200 Subject: [PATCH] ci: fail psalm when baseline update required Signed-off-by: Daniel Kesselberg --- .github/workflows/static-code-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 0314a5996e3..4aa2e1f9b69 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -36,7 +36,7 @@ jobs: - name: Show potential changes in Psalm baseline if: always() - run: git diff -- . ':!lib/composer' + run: git diff --exit-code -- . ':!lib/composer' - name: Upload Analysis results to GitHub if: always() @@ -98,4 +98,4 @@ jobs: - name: Show potential changes in Psalm baseline if: always() - run: git diff -- . ':!lib/composer' + run: git diff --exit-code -- . ':!lib/composer' -- 2.39.5