Skip to content

update workbench flow #15

update workbench flow

update workbench flow #15

name: 'PHP Code Styling'
on:
workflow_dispatch:
push:
branches:
- master
paths:
- '**.php'
permissions:
contents: write
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@v2
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Format Code"
commit_user_name: 'GitHub Actions'