Fix styling #134
Workflow file for this run
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: Code Style | |
on: | |
push: | |
paths: | |
- '**.php' | |
- 'code-style.yml' | |
jobs: | |
code-style: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
name: "Laravel Pint (Style)" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: "Laravel Pint" | |
uses: aglipanci/laravel-pint-action@2.3.1 | |
with: | |
preset: laravel | |
- name: Commit changes to GitHub | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Fix styling | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |