-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtrunk.yaml
67 lines (67 loc) · 1.2 KB
/
trunk.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: 0.1
cli:
version: 1.22.2
merge:
required_statuses:
- Trunk Check
repo:
repo:
host: github.com
owner: z-shell
name: .github
plugins:
sources:
- id: trunk
uri: https://github.com/trunk-io/plugins
ref: v1.6.0
lint:
disabled:
- terrascan
- trivy
- checkov
- trufflehog
- yamllint
enabled:
- oxipng@9.1.1
- bandit@1.7.9
- ruff@0.4.9
- taplo@0.8.1
- isort@5.13.2
- flake8@7.1.0
- black@24.4.2
- svgo@3.3.2
- git-diff-check@SYSTEM
- hadolint@2.12.0
- actionlint@1.7.1
- gitleaks@8.18.4
- markdownlint@0.41.0
- prettier@3.3.2
- shfmt@3.6.0
- shellcheck@0.10.0
ignore:
- linters: [svgo]
paths:
- "metrics/**"
- linters: [markdownlint]
paths:
- ".github/styles/**"
runtimes:
enabled:
- python@3.10.8
- go@1.21.0
- node@20.0.0
actions:
disabled:
- trunk-check-pre-push
- trunk-fmt-pre-commit
enabled:
- git-blame-ignore-revs
- trunk-upgrade-available
- trunk-cache-prune
- trunk-announce
- sh-hook
definitions:
- id: sh-hook
triggers:
- git_hooks: [pre-push, pre-commit]
run: .github/hook.sh