2024-06-10 20:38:39 +00:00
|
|
|
name: Fix PHP code style issues
|
|
|
|
|
2024-06-10 20:42:56 +00:00
|
|
|
on: [push]
|
2024-06-10 20:38:39 +00:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
php-code-styling:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 5
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
ref: ${{ github.head_ref }}
|
|
|
|
|
|
|
|
- name: Fix PHP code style issues
|
|
|
|
uses: aglipanci/laravel-pint-action@2.4
|
|
|
|
|
|
|
|
- name: Commit changes
|
|
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
|
|
with:
|
|
|
|
commit_message: Fix styling
|