Update php-cs-fixer.yml

This commit is contained in:
Dan Harrin
2021-03-13 19:10:34 +00:00
parent d52bd5ecf9
commit 0b31087552
+22 -23
View File
@@ -1,30 +1,29 @@
name: php-cs-fixer
on:
pull_request:
branches:
- develop
types: [closed]
pull_request:
branches:
- develop
types: [closed]
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: develop
- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php_cs.dist --allow-risky=yes
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: >
chore: styling
php-cs-fixer:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: develop
- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php_cs.dist --allow-risky=yes
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: develop
commit_message: >
chore: styling