Skip to content

Commit

Permalink
Update fix-php-code-style-issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RickDBCN authored Jul 4, 2024
1 parent 984c045 commit 78c6142
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
paths:
- '**.php'
pull_request:
paths:
- '**.php'

permissions:
contents: write
Expand All @@ -16,7 +19,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
ref: ${{ github.head_ref }} # This ensures you checkout the branch of the pull request

- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@2.4
Expand All @@ -25,3 +28,4 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling
branch: ${{ github.head_ref }} # This specifies the branch to push changes to

0 comments on commit 78c6142

Please sign in to comment.