Migrate Styling Configs (#2127) #334
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fix PHP code style issues | |
on: | |
push: | |
branches: | |
- '*' # matches every branch that doesn't contain a '/' | |
- '*/*' # matches every branch containing a single '/' | |
- '**' # matches every branch | |
- '!master' | |
paths: | |
- '**.php' | |
permissions: | |
contents: write | |
jobs: | |
php-code-styling: | |
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@latest | |
- name: Commit styling changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Fix styling |