From 106c8d719c8fecf65ed3f9c07fdc78a0d954cfd0 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 13 Oct 2020 21:55:37 +0200 Subject: Do not fail on changes to baseline.xml Signed-off-by: Morris Jobke --- .github/workflows/static-code-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index a7144193ae7..4bfd704793e 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.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)" -- cgit v1.2.3