@@ -8,40 +8,40 @@ permissions:
88 contents : read
99
1010jobs :
11- build :
12- fix-lint-issues :
13- permissions :
14- contents : write
15- statuses : write
16- runs-on : ubuntu-latest
17- steps :
18- - uses : actions/checkout@v4
19- with :
20- fetch-depth : 0
21- - name : Super-linter
22- uses : super-linter/super-linter/slim@v7.3.0
23- env :
24- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25- LINTER_RULES_PATH : linters
26- FIX_HTML_PRETTIER : true
27- FIX_CSS_PRETTIER : true
28- FIX_JAVASCRIPT_PRETTIER : true
29- FIX_MARKDOWN_PRETTIER : true
30- FIX_YAML_PRETTIER : true
31- VALIDATE_CHECKOV : false
32- VALIDATE_HTML : false
33- VALIDATE_CSS : false
34- VALIDATE_JAVASCRIPT_STANDARD : false
35- VALIDATE_JAVASCRIPT_ES : false
36- VALIDATE_JSCPD : false
37- FIX_MARKDOWN : false
38- - name : Commit and push linting fixes
39- if : >
40- github.event_name == 'pull_request' &&
41- github.ref_name != github.event.repository.default_branch
42- uses : stefanzweifel/git-auto-commit-action@v5
43- with :
44- branch : ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
45- commit_message : " chore: fix linting issues"
46- commit_user_name : super-linter
47- commit_user_email : super-linter@super-linter.dev
11+ lint :
12+ fix-lint-issues :
13+ permissions :
14+ contents : write
15+ statuses : write
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ - name : Super-linter
22+ uses : super-linter/super-linter/slim@v7.3.0
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ LINTER_RULES_PATH : linters
26+ FIX_HTML_PRETTIER : true
27+ FIX_CSS_PRETTIER : true
28+ FIX_JAVASCRIPT_PRETTIER : true
29+ FIX_MARKDOWN_PRETTIER : true
30+ FIX_YAML_PRETTIER : true
31+ VALIDATE_CHECKOV : false
32+ VALIDATE_HTML : false
33+ VALIDATE_CSS : false
34+ VALIDATE_JAVASCRIPT_STANDARD : false
35+ VALIDATE_JAVASCRIPT_ES : false
36+ VALIDATE_JSCPD : false
37+ FIX_MARKDOWN : false
38+ - name : Commit and push linting fixes
39+ if : >
40+ github.event_name == 'pull_request' &&
41+ github.ref_name != github.event.repository.default_branch
42+ uses : stefanzweifel/git-auto-commit-action@v5
43+ with :
44+ branch : ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
45+ commit_message : " chore: fix linting issues"
46+ commit_user_name : super-linter
47+ commit_user_email : super-linter@super-linter.dev
0 commit comments