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
@@ -23,24 +17,20 @@ jobs:
2317 - name : Setup PHP
2418 uses : shivammathur/setup-php@v2
2519 with :
26- php-version : latest
27-
28- - name : Add Flux Credentials Loaded From ENV
29- run : composer config http-basic.composer.fluxui.dev "${{ secrets.FLUX_USERNAME }}" "${{ secrets.FLUX_LICENSE_KEY }}"
20+ php-version : 8.5
3021
3122 - name : Install Dependencies
3223 run : |
3324 composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
34- npm install
3525
3626 - name : Run Pint
3727 run : vendor/bin/pint
3828
39- # - name: Commit Changes
40- # uses: stefanzweifel/git-auto-commit-action@v7
41- # with:
42- # commit_message: fix code style
43- # commit_options: '--no-verify'
44- # file_pattern: |
45- # **/*
46- # !.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