Fix job to update psalm baseline

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/29050/head
Daniel Kesselberg 2021-10-03 20:31:10 +07:00
parent fb2fd34576
commit 20da1080fa
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
1 changed files with 1 additions and 6 deletions

@ -25,18 +25,13 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
- name: Reset composer.json and composer.lock
run: |
rm -rf lib/composer
git checkout -- composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
push-to-fork: nextcloud-pr-bot/server
commit-message: Update psalm baseline
committer: GitHub <noreply@github.com>
author: Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/psalm-baseline-update
title: '[Automated] Update psalm-baseline.xml'