Skip to content

style: apply automated php-cs-fixer changes #71

style: apply automated php-cs-fixer changes

style: apply automated php-cs-fixer changes #71

Workflow file for this run

name: Check & fix styling
on:
push:
branches:
- master
- '*.x'
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Cache
uses: actions/cache@v4
with:
path: .php-cs-fixer.cache
key: ${{ runner.OS }}-${{ github.repository }}-phpcsfixer-${{ github.sha }}
restore-keys: |
${{ runner.OS }}-${{ github.repository }}-phpcsfixer-
- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.dist.php
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "style: apply automated php-cs-fixer changes"