File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 70
70
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
71
71
VALIDATE_CHECKOV : false
72
72
VALIDATE_JSCPD : false
73
- VALIDATE_JSON_PRETTIER : false
74
- VALIDATE_MARKDOWN_PRETTIER : false
75
73
VALIDATE_PHP_PSALM : false
76
- VALIDATE_YAML_PRETTIER : false
74
+
75
+ FIX_JSON_PRETTIER : true
76
+ FIX_MARKDOWN_PRETTIER : true
77
+ FIX_SHELL_SHFMT : true
78
+ FIX_YAML_PRETTIER : true
79
+ - name : Commit and push linting fixes
80
+ if : >
81
+ github.event_name == 'pull_request' &&
82
+ github.ref_name != github.event.repository.default_branch
83
+ uses : stefanzweifel/git-auto-commit-action@v5
84
+ with :
85
+ branch : ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
86
+ commit_message : " chore: fix linting issues"
87
+ commit_user_name : super-linter
88
+ commit_user_email : super-linter@super-linter.dev
You can’t perform that action at this time.
0 commit comments