From d2204a71c69649f3fb2c1a6cabb861c2519b81bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 16 Jan 2023 14:50:32 +0100 Subject: [PATCH] Always show the psalm baseline change, even on failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- .github/workflows/static-code-analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index dbe3dce3e15..d4b5a8847ce 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -29,6 +29,7 @@ jobs: run: composer run psalm -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif - name: Show potential changes in Psalm baseline + if: always() run: git diff -- . ':!lib/composer' - name: Upload Analysis results to GitHub @@ -90,4 +91,5 @@ jobs: run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline - name: Show potential changes in Psalm baseline + if: always() run: git diff -- . ':!lib/composer'