Skip to content

Exclude docs again (from main branch that is) #47

Exclude docs again (from main branch that is)

Exclude docs again (from main branch that is) #47

Workflow file for this run

name: PHP CS Fixer
on:
push:
branches:
- '**'
jobs:
php-cs-fixer:
if: "!contains(github.event.head_commit.message, '[ci skip-cs-fixer]')"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
- name: Install dependencies
run: composer install --no-interaction --prefer-dist
- name: Run PHP CS Fixer
run: vendor/bin/php-cs-fixer fix
- name: Commit and push fixes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "style: apply PHP CS Fixer changes [ci skip-cs-fixer]"