File tree Expand file tree Collapse file tree 5 files changed +92
-1
lines changed
Expand file tree Collapse file tree 5 files changed +92
-1
lines changed Original file line number Diff line number Diff line change 1+ skip-check :
2+ - CKV_DOCKER_2
3+ - CKV_DOCKER_3
Original file line number Diff line number Diff line change 1+ name : Prettier
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - " *"
7+
8+ concurrency :
9+ group : prettier-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ permissions :
13+ contents : write
14+
15+ jobs :
16+ prettier :
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v5
22+
23+ - name : Install Prettier and plugins
24+ run : |
25+ npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template
26+
27+ - name : Prettify code
28+ 29+ with :
30+ prettier_plugins : " prettier-plugin-sh prettier-plugin-jinja-template"
31+ prettier_options : --write .
32+ github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ ---
2+ name : Super Linter
3+
4+ on :
5+ workflow_dispatch :
6+ push :
7+ branches :
8+ - " *"
9+
10+ concurrency :
11+ group : super-linter-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ permissions : {}
15+
16+ jobs :
17+ build :
18+ name : Lint
19+ runs-on : ubuntu-latest
20+
21+ permissions :
22+ contents : read
23+ packages : read
24+ # To report GitHub Actions status checks
25+ statuses : write
26+
27+ steps :
28+ - name : Checkout code
29+ uses : actions/checkout@v5
30+ with :
31+ # super-linter needs the full git history to get the
32+ # list of files that changed across commits
33+ fetch-depth : 0
34+
35+ - name : Install Prettier plugins (for summary formatting)
36+ run : |
37+ npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template || true
38+
39+ - name : Super-linter
40+ uses : super-linter/super-linter@v8
41+ env :
42+ # To report GitHub Actions status checks
43+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44+ VALIDATE_JSCPD : false
45+ VALIDATE_SHELL_SHFMT : false
46+ VALIDATE_YAML_PRETTIER : false
47+ VALIDATE_JSON_PRETTIER : false
48+ VALIDATE_MARKDOWN_PRETTIER : false
Original file line number Diff line number Diff line change 1+ ignored :
2+ - DL3008 # Pin versions in apt-get install
Original file line number Diff line number Diff line change 11{
22 "recommendations" : [
3+ " DavidAnson.vscode-markdownlint" ,
34 " editorconfig.editorconfig" ,
45 " esbenp.prettier-vscode" ,
5- " github.vscode-github-actions"
6+ " exiasr.hadolint" ,
7+ " github.vscode-github-actions" ,
8+ " GitHub.vscode-pull-request-github" ,
9+ " ms-azuretools.vscode-containers" ,
10+ " redhat.vscode-yaml" ,
11+ " yzhang.markdown-all-in-one"
612 ]
713}
You can’t perform that action at this time.
0 commit comments