Skip to content

Commit 8798f81

Browse files
authored
Limit to warn and error severity (#2)
1 parent 132db16 commit 8798f81

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/semgrep.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@ jobs:
3737
semgrep scan --config $HOME/semgrep-rules --config $HOME/semgrep-rules-tob \
3838
--metrics=off --experimental \
3939
--exclude-rule=third-party-action-not-pinned-to-commit-sha \
40-
--exclude-rule=detect-generic-ai-anthprop \
41-
--exclude-rule=detect-generic-ai-api \
42-
--exclude-rule=detect-generic-ai-gem \
43-
--exclude-rule=detect-generic-ai-oai \
40+
--severity=WARNING \
41+
--severity=ERROR \
4442
--exclude="*.html" --exclude="*.js" \
4543
--baseline-commit=${{ github.event.pull_request.base.sha }} \
4644
--json > /tmp/semgrep-results.json || true

0 commit comments

Comments
 (0)