Fixup PR-doer.

This commit is contained in:
Greyscale 2024-05-18 16:26:55 +02:00
parent 5226b33620
commit 902021f1df

View file

@ -35,6 +35,7 @@ jobs:
tools: phpstan
- name: Run PHPStan
run: phpstan analyse src
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
@ -56,14 +57,14 @@ jobs:
run: php-cs-fixer fix --config=.php-cs-fixer.php --diff --verbose
# If there are changed files, create a PR, assign it to whom created the push and fail the build
- name: "Create PR"
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v6
with:
title: "Apply php-cs-fixer changes"
commit-message: "Apply php-cs-fixer changes"
branch: "php-cs-fixer-${{ github.sha }}"
token: ${{ secrets.GITHUB_TOKEN }}
assignees: ${{ github.actor }}
labels: "auto-apply"
reviewers: ${{ github.actor }}
delete-branch: true
body: |
This PR was automatically created to apply php-cs-fixer changes.
Please review the changes and merge if they are correct.