Repository navigation
Expand file tree
/
Copy pathwarden.toml
More file actions
79 lines (69 loc) · 1.77 KB
/
Copy pathwarden.toml
File metadata and controls
79 lines (69 loc) · 1.77 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
version = 1
# Repo skills are layered on the org config (getsentry/.github warden.toml),
# which keeps running security-review. Repo skills inherit the org model,
# runtime, and incrementalApp, but not its reportOn, failOn, or
# ignorePaths, so set the report thresholds here to match the org.
[defaults]
reportOn = "low"
failOn = "off"
[defaults.agent]
effort = "medium"
[defaults.auxiliary]
effort = "medium"
# 3000-line default skips sentry_crash_daemon.c and breaks incremental review.
[defaults.scan]
maxFileLines = 6000
maxChangedLines = 20000
[[skills]]
name = "native-code-review"
paths = ["src/**", "include/**", "ndk/lib/src/main/jni/**"]
ignorePaths = ["**/*.md", "src/CMakeLists.txt", "src/exports.map"]
incremental = true
maxTurns = 30
[[skills.triggers]]
type = "pull_request"
actions = ["opened", "synchronize", "reopened"]
[[skills]]
name = "native-build-review"
paths = [
"CMakeLists.txt",
"**/CMakeLists.txt",
"**/*.cmake",
"*.in",
"src/exports.map",
".github/**",
".craft.yml",
"Makefile",
"scripts/**",
"toolchains/**",
"ndk/**/*.gradle",
"ndk/**/*.kts",
"ndk/**/*.properties",
"tests/build_config.py",
"tests/cmake.py",
"tests/requirements.txt",
]
ignorePaths = ["**/*.md", "external/**", "vendor/**", ".github/ISSUE_TEMPLATE/**"]
incremental = true
maxTurns = 30
[[skills.triggers]]
type = "pull_request"
actions = ["opened", "synchronize", "reopened"]
[[skills]]
name = "native-test-review"
paths = ["tests/**"]
ignorePaths = [
"**/*.md",
"**/CMakeLists.txt",
"tests/build_config.py",
"tests/cmake.py",
"tests/requirements.txt",
"tests/fuzzing-failures/**",
"tests/fixtures/*.dmp",
"tests/fixtures/*.so",
]
incremental = true
maxTurns = 30
[[skills.triggers]]
type = "pull_request"
actions = ["opened", "synchronize", "reopened"]