Skip to content

Commit

Permalink
added php-style github action
Browse files Browse the repository at this point in the history
  • Loading branch information
fashxp committed May 6, 2021
1 parent b8cc732 commit 426bebc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/php-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PHP Style

on: [push, pull_request]

jobs:
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga:2.19.0
with:
args: --config=.php_cs.dist --allow-risky yes

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply php-cs-fixer changes

0 comments on commit 426bebc

Please sign in to comment.