1c083c40ca00632c063d76c0a0f039853e93ef93
[friendica-addons.git/.git] / blockbot / vendor / jaybizzle / crawler-detect / .github / workflows / php-cs-fixer.yml
1 name: Check & fix styling
2
3 on: [ push ]
4
5 jobs:
6     php-cs-fixer:
7         runs-on: ubuntu-latest
8
9         steps:
10             -   name: Checkout code
11                 uses: actions/checkout@v2
12                 with:
13                     ref: ${{ github.head_ref }}
14
15             -   name: Run PHP CS Fixer
16                 uses: docker://oskarstark/php-cs-fixer-ga:2.18.6
17                 with:
18                     args: --config=.php_cs.dist --allow-risky=yes
19
20             -   name: Commit changes
21                 uses: stefanzweifel/git-auto-commit-action@v4
22                 with:
23                     commit_message: Fix styling