File tree Expand file tree Collapse file tree 5 files changed +70
-0
lines changed
Expand file tree Collapse file tree 5 files changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ BasedOnStyle : LLVM
2+ IndentWidth : 2
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+ MD007 : # Unordered list indentation
3+ indent : 2 # Consider disable MD005 if things fail on ordered list
4+ MD013 : # Line length 80 is far to short
5+ line_length : 999 # We allow soft wrapped paragraphs and raw code outputs
6+ MD029 : false # Ordered list item prefix
7+ MD033 : false # Allow inline HTML
Original file line number Diff line number Diff line change 1+ ---
2+ extends : relaxed
3+
4+ rules :
5+ indentation :
6+ spaces : 2
7+ indent-sequences : true
Original file line number Diff line number Diff line change 1+ ---
2+ name : super-linter
3+
4+ on :
5+ push :
6+ branches : [main]
7+ pull_request :
8+ branches : [main]
9+
10+ permissions : {}
11+
12+ jobs :
13+ lint :
14+ name : Lint
15+ runs-on : ubuntu-latest
16+
17+ permissions :
18+ contents : read
19+
20+ steps :
21+ - name : Checkout with history
22+ uses : actions/checkout@v4
23+ with :
24+ fetch-depth : 0
25+
26+ - name : Work around super-linter
27+ shell : bash
28+ run : |
29+ # Work-around for config file detection
30+ cp .github/linters/.commitlintrc.yml .commitlintrc.yml
31+ # Work-around for SHA detection
32+ # https://github.com/super-linter/super-linter/issues/6316#issuecomment-2510205626
33+ if [[ '${{ github.event_name }}' == 'pull_request' ]]; then
34+ echo 'GITHUB_BEFORE_SHA=${{ github.event.pull_request.base.sha }}' >> $GITHUB_ENV
35+ fi
36+
37+ - name : Run super-linter
38+ uses : super-linter/super-linter/slim@v7.2.0
39+ env :
40+ VALIDATE_ALL_CODEBASE : ${{ github.event_name != 'pull_request' }}
41+ # language configurations
42+ VALIDATE_CLANG_FORMAT : true
43+ VALIDATE_GIT_COMMITLINT : true
44+ VALIDATE_MARKDOWN : true
45+ VALIDATE_YAML : true
46+ # misc configurations
47+ ENFORCE_COMMITLINT_CONFIGURATION_CHECK : true
48+ MULTI_STATUS : false # disable status report
49+ SUPPRESS_POSSUM : true
50+ VALIDATE_GITHUB_ACTIONS : true
51+ VALIDATE_GITLEAKS : true
You can’t perform that action at this time.
0 commit comments