diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 3f1ea2f9eb..c3303f43ce 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -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