Commit 2d54b1e
committed
fix(ci): restore megalinter gate on main (hadolint, editorconfig, trufflehog)
Megalinter has been red on main since the v10 image / trufflehog 3.96
toolchain drift. Three independent findings, fixed at the source:
1. hadolint DL3066 (Dockerfile:32): use numeric UID (USER 1000) — the
user is created with --uid 1000 a few lines above.
2. editorconfig-checker: docs/TROUBLESHOOTING.md contained mixed CRLF/LF
line endings (introduced via PR #285); normalized to LF per
.editorconfig (end_of_line = lf).
3. trufflehog >=3.96 Lob detector flags every `test_*` function name as a
verified Lob key (Lob test keys share the `test_` prefix). Excluded
only the Lob detector via REPOSITORY_TRUFFLEHOG_ARGS so all other
secret detectors stay active. Verified locally: 0 findings with
trufflehog 3.96.0 after exclusion.
Validation:
- trufflehog 3.96.0 --only-verified --exclude-detectors=Lob: clean
- pytest tests/test_catalog_resolve.py tests/test_cli.py: 35 passed1 parent 762a0c4 commit 2d54b1e
4 files changed
Lines changed: 383 additions & 380 deletions
File tree
- docs
- packages/create-awesome-python-app/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments