Fixup PR-doer.
This commit is contained in:
parent
5226b33620
commit
902021f1df
1 changed files with 4 additions and 3 deletions
7
.github/workflows/php.check.yml
vendored
7
.github/workflows/php.check.yml
vendored
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue