File tree Expand file tree Collapse file tree 9 files changed +515
-47
lines changed
Expand file tree Collapse file tree 9 files changed +515
-47
lines changed Original file line number Diff line number Diff line change 33# MD013/line-length Line length
44MD013 : false
55
6+ # MD024/no-duplicate-heading No duplicate headings
7+ MD024 : false
8+
9+ # MD051/link-fragments Link fragments
10+ MD051 : false
11+
12+ # MD033/no-inline-html Inline HTML
13+ MD033 :
14+ allowed_elements : ["div", "h1"]
15+
616# MD036/no-emphasis-as-heading Emphasis used instead of a heading
717MD036 : false
818
19+ # MD041/first-line-heading/first-line-h1
20+ MD041 : false
21+
922# MD042/no-empty-links No empty links
1023MD042 : false
24+
25+ # MD060/table-column-style Table column style
26+ MD060 : false
Original file line number Diff line number Diff line change 1+ # https://github.com/j178/prek
2+ name : Audit hooks
3+
4+ on :
5+ pull_request :
6+ push :
7+ branches : [main]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ pre-commit :
14+ name : 🏃♂️➡️ prek on ${{ matrix.os }}
15+ runs-on : ${{ matrix.os }}
16+ strategy :
17+ matrix :
18+ os : [ubuntu-latest, windows-latest]
19+ steps :
20+ - name : " Checkout ${{ github.ref }} ( ${{ github.sha }} )"
21+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+ with :
23+ persist-credentials : false
24+ - name : Run prek-action
25+ uses : j178/prek-action@53276d8b0d10f8b6672aa85b4588c6921d0370cc # v2.0.1
26+ with :
27+ install-only : true
28+ - name : Run manual prek hooks
29+ run : prek run --all-files --config .pre-commit-config-audit.yaml
Original file line number Diff line number Diff line change 1+ # https://github.com/j178/prek
2+ name : Manual hooks
3+
4+ on :
5+ pull_request :
6+ push :
7+ branches : [main]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ pre-commit :
14+ name : 🏃♂️➡️ prek on ${{ matrix.os }}
15+ runs-on : ${{ matrix.os }}
16+ strategy :
17+ matrix :
18+ os : [ubuntu-latest, windows-latest]
19+ steps :
20+ - name : " Checkout ${{ github.ref }} ( ${{ github.sha }} )"
21+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+ with :
23+ persist-credentials : false
24+ - name : Run prek-action
25+ uses : j178/prek-action@53276d8b0d10f8b6672aa85b4588c6921d0370cc # v2.0.1
26+ with :
27+ install-only : true
28+ - name : Run manual prek hooks
29+ run : prek run --all-files --hook-stage manual
Original file line number Diff line number Diff line change 1- name : pre-commit
1+ # https://github.com/j178/prek
2+ name : Standard hooks
3+
4+ on :
5+ pull_request :
6+ push :
7+ branches : [main]
28
39permissions :
410 contents : read
511
6- on : [pull_request]
7-
812jobs :
913 pre-commit :
10- name : 🏃🏼 Pre-commit on ${{ matrix.os }}
14+ name : 🏃🏿♂️➡️ Run prek on ${{ matrix.os }}
1115 runs-on : ${{ matrix.os }}
1216 strategy :
1317 matrix :
1418 os : [ubuntu-latest, windows-latest]
1519 steps :
16- - name : Checkout Code
20+ - name : " Checkout ${{ github.ref }} ( ${{ github.sha }} ) "
1721 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1822 with :
19- fetch-depth : 0
2023 persist-credentials : false
2124 - name : Run prek-action
2225 uses : j178/prek-action@53276d8b0d10f8b6672aa85b4588c6921d0370cc # v2.0.1
26+ with :
27+ extra-args : --all-files
Original file line number Diff line number Diff line change 11name : Super-Linter
22
3- on : [pull_request]
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
48
59permissions : {}
610
Original file line number Diff line number Diff line change 1+ default_stages : [pre-commit, pre-push]
2+ minimum_prek_version : " 0.2.22"
3+ default_language_version :
4+ python : python3
5+ node : 24.14.0
6+ exclude : |
7+ (?x)^(
8+ \.git/|
9+ _site/|
10+ node_modules/|
11+ )
12+
13+ repos :
14+ - repo : meta
15+ hooks :
16+ - id : identity
17+ name : Run identity
18+ description : Run the identity check
19+ - id : check-hooks-apply
20+ name : run check-hooks-apply
21+ description : check that all the hooks apply to the repository
22+
23+ - repo : local
24+ hooks :
25+ - id : npm-audit
26+ name : run npm-audit
27+ description : Run npm audit
28+ entry : npm audit
29+ language : system
30+ pass_filenames : false
Original file line number Diff line number Diff line change @@ -43,12 +43,6 @@ repos:
4343 entry : npm run build
4444 language : system
4545 pass_filenames : false
46- - id : npm-audit
47- name : run npm-audit
48- description : Run npm audit
49- entry : npm audit
50- language : system
51- pass_filenames : false
5246
5347 # GO-based
5448 - repo : https://github.com/gitleaks/gitleaks
You can’t perform that action at this time.
0 commit comments