From 6cfc7f5dd3d2fc2370a7ba5fbe998b1822471170 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Thu, 7 Oct 2021 09:25:14 +0200 Subject: [PATCH] Reset composer for automated psalm baseline update Signed-off-by: Daniel Kesselberg --- .github/workflows/update-psalm-baseline.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-psalm-baseline.yml b/.github/workflows/update-psalm-baseline.yml index 759a74a12d0..b74e9304b77 100644 --- a/.github/workflows/update-psalm-baseline.yml +++ b/.github/workflows/update-psalm-baseline.yml @@ -22,9 +22,13 @@ jobs: extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip coverage: none - name: Composer install - run: composer i + run: composer install - name: Psalm run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline + - name: Reset composer + run: | + git clean -f lib/composer + git checkout composer.json composer.lock lib/composer - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: -- 2.39.5