From 20da1080fa4f8624d868394cf2c4c29fdd1f2da1 Mon Sep 17 00:00:00 2001
From: Daniel Kesselberg <mail@danielkesselberg.de>
Date: Sun, 3 Oct 2021 20:31:10 +0200
Subject: Fix job to update psalm baseline

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
---
 .github/workflows/update-psalm-baseline.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to '.github/workflows')

diff --git a/.github/workflows/update-psalm-baseline.yml b/.github/workflows/update-psalm-baseline.yml
index a4cddbc3d09..759a74a12d0 100644
--- a/.github/workflows/update-psalm-baseline.yml
+++ b/.github/workflows/update-psalm-baseline.yml
@@ -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'
-- 
cgit v1.2.3