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 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'