Skip to content

Commit 3487104

Browse files
committed
WIP
1 parent 4c345c1 commit 3487104

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/php-cs-fixer.yml renamed to .github/workflows/fix-php-code-style-issues.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
name: Check & fix styling
1+
name: Fix PHP code style issues
22

33
on:
44
push:
5-
branches:
6-
- styling
5+
paths:
6+
- '**.php'
7+
8+
permissions:
9+
contents: write
710

811
jobs:
9-
php-cs-fixer:
12+
php-code-styling:
1013
runs-on: ubuntu-latest
1114

1215
steps:
@@ -15,10 +18,8 @@ jobs:
1518
with:
1619
ref: ${{ github.head_ref }}
1720

18-
- name: Run PHP CS Fixer
19-
uses: docker://oskarstark/php-cs-fixer-ga
20-
with:
21-
args: --config=.php-cs-fixer.dist.php --allow-risky=yes
21+
- name: Fix PHP code style issues
22+
uses: aglipanci/laravel-pint-action@2.3.0
2223

2324
- name: Commit changes
2425
uses: stefanzweifel/git-auto-commit-action@v4

0 commit comments

Comments
 (0)