From 077ed74a12630e72756067963212d7b97f00117e Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Mon, 30 Sep 2024 18:05:05 +0200 Subject: 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 63b7e947abd..83b7452ee89 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -38,7 +38,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() @@ -100,4 +100,4 @@ jobs: - name: Show potential changes in Psalm baseline if: always() - run: git diff -- . ':!lib/composer' + run: git diff --exit-code -- . ':!lib/composer' -- cgit v1.2.3