Commit edaaa2b
authored
perf(trufflehog): single process for PR changed-file scan (#151)
* perf(trufflehog): batch PR changed-path scans
Feed filtered paths through GNU xargs -0 so a typical PR runs one
TruffleHog process (avoids per-file startup) while argv stays under OS
limits on very large diffs. Paths are still filtered for excludes and
missing files (e.g. deletions in the diff).
* perf(trufflehog): PR scan via --include-paths regex file
Use one trufflehog filesystem invocation over . with --include-paths
(anchored re.escape per path) to avoid argv limits; addresses review.
Revert get-vault-secrets action pin to match main (f1614b2).1 parent 07958e8 commit edaaa2b
1 file changed
+21
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
150 | 154 | | |
151 | 155 | | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
155 | | - | |
156 | 159 | | |
157 | | - | |
158 | | - | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
161 | 179 | | |
162 | 180 | | |
163 | 181 | | |
| |||
0 commit comments