|
6 | 6 | - repo: https://github.com/chainguard-dev/pre-commit-hooks |
7 | 7 | rev: 71fca50bcd1006b5cbcf71f03a3b493f48c4af7f |
8 | 8 | hooks: |
| 9 | + - id: shellcheck-run-steps # Not quite ready yet for prime time |
9 | 10 | - id: check-for-epoch-bump |
10 | | - - id: shellcheck-run-steps |
11 | 11 | - repo: https://github.com/chainguard-dev/yam |
12 | | - rev: 693d578a25dccd5beb548984d7a3cbda40c3af41 # frozen: v0.2.16 |
| 12 | + rev: 693d578a25dccd5beb548984d7a3cbda40c3af41 # frozen: v0.2.16 |
13 | 13 | hooks: |
14 | 14 | - id: yam |
15 | | - # TODO: Swap with CG repo: - repo: https://github.com/wolfi-dev/wolfictl |
16 | | - - repo: https://github.com/amberarcadia/wolfictl |
17 | | - rev: 85b1301c4d17fcd0c8f0ce455724941cae815d68 |
| 15 | + exclude: | |
| 16 | + (?x)^( |
| 17 | + .*\.patch |
| 18 | + )$ |
| 19 | + - repo: https://github.com/wolfi-dev/wolfictl |
| 20 | + rev: ddadb9365d6d78ee33e13801b12eabfcb04298a7 # 2025-06-20 |
18 | 21 | hooks: |
19 | 22 | - id: wolfictl-lint |
20 | 23 | - repo: https://github.com/golangci/misspell |
21 | | - rev: e78f9b6cd537559a24525b6ea7e182794edfd31f # frozen: v0.7.0 |
| 24 | + rev: e78f9b6cd537559a24525b6ea7e182794edfd31f # frozen: v0.7.0 |
22 | 25 | hooks: |
23 | 26 | - id: misspell |
| 27 | + # To add exclusions, add (misspelled) words to the -i arg, comma separated, or |
| 28 | + # add files to the exclude array (with trailing | unless last it's the last one). |
| 29 | + # Syntax info: https://pre-commit.com/#regular-expressions |
| 30 | + # Dictionary of corrections: https://github.com/golangci/misspell/blob/main/words.go |
| 31 | + args: |
| 32 | + - "-i=routeros,mosquitto,metagem,rela,exportfs" |
| 33 | + exclude: | |
| 34 | + (?x)^( |
| 35 | + aws-network-policy-agent/pkg/ebpf/c/vmlinux.h-aarch64| |
| 36 | + aws-network-policy-agent/pkg/ebpf/c/vmlinux.h-x86_64| |
| 37 | + .*\.patch |
| 38 | + )$ |
24 | 39 | - repo: https://github.com/pre-commit/pre-commit-hooks |
25 | 40 | rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0 |
26 | 41 | hooks: |
27 | 42 | - id: check-yaml |
| 43 | + exclude: | |
| 44 | + (?x)^( |
| 45 | + .*\.patch |
| 46 | + )$ |
28 | 47 | - id: forbid-submodules |
29 | 48 | - id: check-added-large-files |
30 | 49 | - id: check-case-conflict |
|
0 commit comments