Merge pull request #548 from awcodes/fix/cross-origin #62
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: 'PHP Code Styling' | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 3.x | |
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' |