File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed
Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 11name : Pipeline
22on : [push]
3-
43jobs :
5- generate :
4+ pipeline :
65 runs-on : ubuntu-latest
76 permissions :
8- contents : read
7+ contents : write
98 packages : read
109 statuses : write
11-
1210 steps :
13-
1411 - name : Checkout code
1512 uses : actions/checkout@v4
1613 with :
1714 fetch-depth : 0
18-
1915 - name : Super-linter
2016 uses :
super-linter/[email protected] 2117 env :
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19+ FIX_BASH : true
20+ FIX_CHECKOV : true
21+ FIX_MARKDOWN : true
22+ FIX_MARKDOWN_PRETTIER : true
23+ FIX_NATURAL_LANGUAGE : true
24+ FIX_SHELL_SHFMT : true
25+ FIX_YAML_PRETTIER : true
26+ - name : Commit and push linting fixes
27+ if : >
28+ github.ref_name != github.event.repository.default_branch
29+ uses : stefanzweifel/git-auto-commit-action@v5
30+ with :
31+ branch : ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
32+ commit_message : " chore: fix linting issues"
33+ commit_user_name : Wesley Scholl
34+ commit_user_email :
[email protected]
You can’t perform that action at this time.
0 commit comments