File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ extends :
3+ - ' @commitlint/config-conventional'
Original file line number Diff line number Diff line change 1+ ---
2+ name : Super-Linter
3+
4+ on :
5+ push :
6+ branches : [master]
7+ pull_request :
8+ branches : [master]
9+
10+ jobs :
11+ lint :
12+ runs-on : ubuntu-latest
13+
14+ permissions :
15+ contents : read
16+ packages : read
17+
18+ steps :
19+ - name : Checkout Code
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Work around super-linter
25+ shell : bash
26+ run : |
27+ # Work-around for SHA detection
28+ # https://github.com/super-linter/super-linter/issues/6316#issuecomment-2510205626
29+ if [[ '${{ github.event_name }}' == 'pull_request' ]]; then
30+ echo 'GITHUB_BEFORE_SHA=${{ github.event.pull_request.base.sha }}' >> "${GITHUB_ENV}"
31+ fi
32+ - name : Run Super Linter
33+ uses : super-linter/super-linter@v7.3.0
34+ env :
35+ # ASCII Possum is cute, but not necessary
36+ SUPPRESS_POSSUM : true
37+ # Only check new or modified files
38+ VALIDATE_ALL_CODEBASE : false
39+ # Language-specific linters
40+ VALIDATE_MARKDOWN : true
41+ VALIDATE_YAML : true
42+ # Misc configuration
43+ ENFORCE_COMMITLINT_CONFIGURATION_CHECK : true
44+ VALIDATE_GIT_COMMITLINT : true
45+ VALIDATE_GITHUB_ACTIONS : true
46+ VALIDATE_GITLEAKS : true
47+ # Do not rely on the statuses permission
48+ MULTI_STATUS : false
You can’t perform that action at this time.
0 commit comments