Skip to content

Commit 99cdfd8

Browse files
Update fix-php-code-style-issues.yml
1 parent e7840ac commit 99cdfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fix-php-code-style-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121
with:
22-
ref: ${{ github.head_ref }} # This ensures you checkout the branch of the pull request
22+
ref: ${{ github.head_ref || github.ref_name }}
2323

2424
- name: Fix PHP code style issues
2525
uses: aglipanci/laravel-pint-action@2.5

0 commit comments

Comments
 (0)