File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,13 +2,7 @@ name: linter
22
33on :
44 push :
5- branches :
6- - develop
7- - main
8- pull_request :
9- branches :
10- - develop
11- - main
5+ branches : [ main ]
126
137permissions :
148 contents : write
@@ -18,25 +12,25 @@ jobs:
1812 runs-on : ubuntu-latest
1913 environment : Testing
2014 steps :
21- - uses : actions/checkout@v4
15+ - uses : actions/checkout@v6
2216
2317 - name : Setup PHP
2418 uses : shivammathur/setup-php@v2
2519 with :
26- php-version : ' 8.4 '
20+ php-version : latest
2721
2822 - name : Install Dependencies
2923 run : |
3024 composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
3125
3226 - name : Run Pint
33- run : vendor/bin/pint --test
27+ run : vendor/bin/pint
3428
35- # - name: Commit Changes
36- # uses: stefanzweifel/git-auto-commit-action@v5
37- # with:
38- # commit_message: fix code style
39- # commit_options: '--no-verify'
40- # file_pattern: |
41- # **/*
42- # !.github/workflows/*
29+ - name : Commit Changes
30+ uses : stefanzweifel/git-auto-commit-action@v7
31+ with :
32+ commit_message : fix code style
33+ commit_options : ' --no-verify'
34+ file_pattern : |
35+ **/*
36+ !.github/workflows/*
You can’t perform that action at this time.
0 commit comments