File tree 1 file changed +18
-24
lines changed
1 file changed +18
-24
lines changed Original file line number Diff line number Diff line change 1
- name : PHP Linting (Pint)
2
- on :
3
- workflow_dispatch :
4
- push :
5
- branches-ignore :
6
- - ' dependabot/npm_and_yarn/*'
1
+ name : Check & fix styling (laravel pint)
2
+ on : [push, pull_request]
7
3
jobs :
8
- name : PHP Linting
9
- on : pull_request
10
- jobs :
11
- phplint :
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v4
15
- - name : " laravel-pint "
16
- uses : aglipanci/laravel-pint-action@latest
17
- with :
18
- preset : laravel
4
+ phplint :
5
+ name : Laravel Pint
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v4
9
+ with :
10
+ fetch-depth : 2
11
+ - name : Laravel Pint
12
+ uses : aglipanci/laravel-pint-action@latest
13
+ with :
14
+ preset : laravel
19
15
verboseMode : true
20
16
testMode : true
21
17
configPath : " pint.json"
22
18
pintVersion : 1.21.2
23
- onlyDirty : true
24
- onlyDiff : " master"
25
- - name : Commit changes
26
- uses : stefanzweifel/git-auto-commit-action@v4
27
- with :
28
- commit_message : PHP Linting (Pint)
29
- skip_fetch : true
19
+ - name : Commit changes
20
+ uses : stefanzweifel/git-auto-commit-action@v4
21
+ with :
22
+ commit_message : Fixing styling (Laravel Pint)
23
+ skip_fetch : true
You can’t perform that action at this time.
0 commit comments