File tree Expand file tree Collapse file tree 3 files changed +35
-33
lines changed
Expand file tree Collapse file tree 3 files changed +35
-33
lines changed Original file line number Diff line number Diff line change 1+ name : code-style
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ permissions : write-all
8+
9+ jobs :
10+ check :
11+ if : ${{ ! (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v3
18+
19+ - name : Checking PHP Syntax
20+ uses : TheDragonCode/codestyler@v2.6.2
21+
22+ fix :
23+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
24+
25+ runs-on : ubuntu-latest
26+
27+ steps :
28+ - name : Checkout code
29+ uses : actions/checkout@v3
30+
31+ - name : Checking PHP Syntax
32+ uses : TheDragonCode/codestyler@v2.6.2
33+ with :
34+ github_token : ${{ secrets.COMPOSER_TOKEN }}
35+ fix : true
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments