File tree Expand file tree Collapse file tree 2 files changed +72
-0
lines changed
.github/workflows/reusable Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : linter
3+
4+ on :
5+ workflow_call :
6+ inputs :
7+ checkout_fetch_depth :
8+ description : Fetch depth for checkout action.
9+ default : 0
10+ required : false
11+ type : number
12+ concurrency-group :
13+ description : Concurrency group name.
14+ default : linter/${{ github.workflow }}-${{ github.ref }}
15+ required : false
16+ type : string
17+ enable-concurrency :
18+ description : Enable concurrency.
19+ default : true
20+ required : false
21+ type : boolean
22+ linter-version :
23+ description : Super linter version.
24+ default : v8.1.0
25+ required : false
26+ type : string
27+ os :
28+ description : OS runner as a JSON array string '["ubuntu-latest"]'.
29+ default : ' ["ubuntu-latest"]'
30+ required : false
31+ type : string
32+
33+ secrets :
34+ GITHUB_TOKEN :
35+ description : GitHub token for Super Linter.
36+ required : true
37+
38+ jobs :
39+ lint :
40+ name : Super Linter
41+
42+ concurrency :
43+ cancel-in-progress : ${{ inputs.enable-concurrency }}
44+ group : ${{ inputs.concurrency-group }}
45+
46+ runs-on : ${{ fromJSON(inputs.os) }}
47+
48+ permissions :
49+ checks : write
50+ contents : read
51+ statuses : write
52+
53+ steps :
54+ - name : Checkout.
55+ uses : actions/checkout@v5
56+ with :
57+ fetch-depth : ${{ inputs.checkout_fetch_depth }}
58+
59+ - name : Run super linter.
60+ uses : super-linter/super-linter/slim-${{ inputs.linter-version }}
61+ env :
62+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63+ VALIDATE_CHECKOV : ${{ env.VALIDATE_CHECKOV || 'false' }}
64+ VALIDATE_ENV : ${{ env.VALIDATE_ENV || 'false' }}
65+ VALIDATE_GIT_MERGE_CONFLICT_MARKERS : >-
66+ ${{ env.VALIDATE_GIT_MERGE_CONFLICT_MARKERS || 'false' }}
67+ VALIDATE_GITHUB_ACTIONS_ZIZMOR : >-
68+ ${{ env.VALIDATE_GITHUB_ACTIONS_ZIZMOR || 'false' }}
69+ VALIDATE_JSCPD : ${{ env.VALIDATE_JSCPD || 'false' }}
70+ VALIDATE_TRIVY : ${{ env.VALIDATE_TRIVY || 'false' }}
Original file line number Diff line number Diff line change 22
33## v2.0.0 Under development
44
5+ - Enh #55 : Add Super Linter reusable workflow for code quality checks (@terabytesoftw )
6+
57## v1.0.4 August 30, 2025
68
79- Bug #54 : Update coverage upload condition to check for coverage driver (@terabytesoftw )
You can’t perform that action at this time.
0 commit comments