]> source.dussan.org Git - nextcloud-server.git/commitdiff
Always show the psalm baseline change, even on failure
authorCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 16 Jan 2023 13:50:32 +0000 (14:50 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Fri, 20 Jan 2023 10:22:13 +0000 (11:22 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
.github/workflows/static-code-analysis.yml

index dbe3dce3e1562d9e42e145c923f0da25186eb04e..d4b5a8847ce06e8581628a746ccb2f12f455293c 100644 (file)
@@ -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'