Do not fail on changes to baseline.xml

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/23401/head
Morris Jobke 6 years ago committed by GitHub
parent 081e9ac47f
commit 106c8d719c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/static-code-analysis.yml

@ -23,7 +23,7 @@ jobs:
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer' && exit 1
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
run: |
bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml)"

Loading…
Cancel
Save