Browse Source

Check only the baseline.xml and exclude the psalm.xml from the file check

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v20.0.0beta1
Morris Jobke 3 years ago
parent
commit
42bb6cd7d7
No account linked to committer's email address
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      .github/workflows/static-code-analysis.yml
  2. 1
    0
      build/files-checker.php

+ 1
- 1
.github/workflows/static-code-analysis.yml View 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 )"

+ 1
- 0
build/files-checker.php View File

@@ -70,6 +70,7 @@ $expectedFiles = [
'ocs',
'package-lock.json',
'package.json',
'psalm.xml',
'public.php',
'README.md',
'remote.php',

Loading…
Cancel
Save