Skip to content

Commit 86b3f68

Browse files
authored
Skip rust test files (#13)
We migth still get hits in test modules but at least some less
1 parent 54e65ff commit 86b3f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/semgrep-action/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runs:
4040
--exclude-rule=jsx-not-internationalized \
4141
--severity=WARNING \
4242
--severity=ERROR \
43-
--exclude="*.html" --exclude="*.js" --exclude="*.spec.ts" \
43+
--exclude="*.html" --exclude="*.js" --exclude="*.spec.ts" --exclude="tests.rs" \
4444
$baseline_commit_arg \
4545
--json | \
4646
jq 'to_entries | map(if .key == "results" then .value |= map(select(.extra.metadata.confidence != "LOW")) else . end) | from_entries' \

0 commit comments

Comments
 (0)