Skip to content

Commit fb76d70

Browse files
committed
fix: correct slither filter-paths regex
- Use a regex for filter-paths so lib/, test/, script/, and src/hacks are actually excluded Made-with: Cursor
1 parent 28933d5 commit fb76d70

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/slither.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
id: slither-clean
4141
continue-on-error: true # informational — teaching repo uses intentional patterns
4242
with:
43-
slither-args: --filter-paths "src/hacks,lib,test,script"
43+
# slither --filter-paths expects a regex, not a comma-separated list
44+
slither-args: --filter-paths "(src/hacks|lib|test|script)(/|$)"
4445
sarif: slither-clean.sarif
4546
fail-on: none
4647

0 commit comments

Comments
 (0)