We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c345c1 commit 3487104Copy full SHA for 3487104
.github/workflows/php-cs-fixer.yml renamed to .github/workflows/fix-php-code-style-issues.yml
@@ -1,12 +1,15 @@
1
-name: Check & fix styling
+name: Fix PHP code style issues
2
3
on:
4
push:
5
- branches:
6
- - styling
+ paths:
+ - '**.php'
7
+
8
+permissions:
9
+ contents: write
10
11
jobs:
- php-cs-fixer:
12
+ php-code-styling:
13
runs-on: ubuntu-latest
14
15
steps:
@@ -15,10 +18,8 @@ jobs:
18
with:
16
19
ref: ${{ github.head_ref }}
17
20
- - name: Run PHP CS Fixer
- uses: docker://oskarstark/php-cs-fixer-ga
- with:
21
- args: --config=.php-cs-fixer.dist.php --allow-risky=yes
+ - name: Fix PHP code style issues
22
+ uses: aglipanci/laravel-pint-action@2.3.0
23
24
- name: Commit changes
25
uses: stefanzweifel/git-auto-commit-action@v4
0 commit comments