Skip to content

Commit

Permalink
Added github/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioassuncao committed May 16, 2023
1 parent 5c6608b commit 61141c5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check and fix code styling with php-cs-fixer

on:
pull_request:
push:

jobs:
style:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: Run php-cs-fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.dist.php --allow-risky=yes

- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: Automatically applied php-cs-fixer changes

0 comments on commit 61141c5

Please sign in to comment.