aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/static-code-analysis.yml4
1 files 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'