summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/static-code-analysis.yml2
-rw-r--r--build/files-checker.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml
index bd7476df1ec..f90e102a99d 100644
--- a/.github/workflows/static-code-analysis.yml
+++ b/.github/workflows/static-code-analysis.yml
@@ -22,4 +22,4 @@ jobs:
args: psalm --monochrome --no-progress --output-format=text --update-baseline
- name: Check for changes in Psalm baseline
run: |
- bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff && exit 1 )"
+ bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff && exit 1 )"
diff --git a/build/files-checker.php b/build/files-checker.php
index b8c60727b0c..08cf21dde8d 100644
--- a/build/files-checker.php
+++ b/build/files-checker.php
@@ -70,6 +70,7 @@ $expectedFiles = [
'ocs',
'package-lock.json',
'package.json',
+ 'psalm.xml',
'public.php',
'README.md',
'remote.php',