Skip to content

doc update

doc update #74

Workflow file for this run

name: CodeQuality
on:
push:
branches:
- '**'
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.PAT }}
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
tools: php-cs-fixer:3.22.0
- name: Code Reformatting...
run: php-cs-fixer fix -v --allow-risky=yes --config=./.php-cs-fixer.php
- name: Commit Reformated Code
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.head_ref }}
commit_author: lanlin <lanlin1987@github.com>
commit_message: code reformat workflow
commit_user_name: lanlin
commit_user_email: lanlin1987@gmail.com