]> source.dussan.org Git - nextcloud-server.git/commitdiff
Check only the baseline.xml and exclude the psalm.xml from the file check 21787/head
authorMorris Jobke <hey@morrisjobke.de>
Tue, 18 Aug 2020 10:37:53 +0000 (12:37 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 18 Aug 2020 11:01:10 +0000 (13:01 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
.github/workflows/static-code-analysis.yml
build/files-checker.php

index bd7476df1ec5b0d24616680af30d84f43510fc4f..f90e102a99d242aede83c0f052dd59fc967393eb 100644 (file)
@@ -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 )"
index b8c60727b0c481da64a100c73c5a1e05c69a9e32..08cf21dde8d68cc5c0182ca2c8cf3b90e20fc837 100644 (file)
@@ -70,6 +70,7 @@ $expectedFiles = [
        'ocs',
        'package-lock.json',
        'package.json',
+       'psalm.xml',
        'public.php',
        'README.md',
        'remote.php',