diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-code-analysis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 5633c3abc29..bd7476df1ec 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -19,4 +19,7 @@ jobs: - name: Psalm uses: docker://jakzal/phpqa:php7.4-alpine with: - args: psalm --monochrome --no-progress --output-format=text + 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 )" |