diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-18 09:09:59 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-18 13:01:05 +0200 |
commit | 80056e081a567c46f931342adf5801735905dacd (patch) | |
tree | b0bbc8adeb982227684a2d53466133e321aafc28 /.github | |
parent | 4efca69f8d411ac906f94301b4a2c5ae58858f04 (diff) | |
download | nextcloud-server-80056e081a567c46f931342adf5801735905dacd.tar.gz nextcloud-server-80056e081a567c46f931342adf5801735905dacd.zip |
Add a check for fixes in the psalm baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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 )" |