php-cs-fixer.yml 621 B

1234567891011121314151617181920212223
  1. name: Check & fix styling
  2. on: [ push ]
  3. jobs:
  4. php-cs-fixer:
  5. runs-on: ubuntu-24.04
  6. steps:
  7. - name: Checkout code
  8. uses: actions/checkout@v3
  9. with:
  10. ref: ${{ github.head_ref }}
  11. - name: Run PHP CS Fixer
  12. uses: docker://oskarstark/php-cs-fixer-ga:2.18.6
  13. with:
  14. args: --config=.php_cs.dist --allow-risky=yes
  15. - name: Commit changes
  16. uses: stefanzweifel/git-auto-commit-action@v4
  17. with:
  18. commit_message: Fix styling