We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974d302 commit f036099Copy full SHA for f036099
1 file changed
src/socket_external_tools_runner.py
@@ -61,4 +61,7 @@ def load_json(name, connector: str, connector_type: str = 'single') -> dict:
61
62
scm.github.post_comment(tool_bandit_name, bandit_marker, bandit_result)
63
scm.github.post_comment(tool_gosec_name, gosec_marker, gosec_result)
64
-scm.github.post_comment(tool_trufflehog_name, trufflehog_marker, truffle_result)
+scm.github.post_comment(tool_trufflehog_name, trufflehog_marker, truffle_result)
65
+if bandit_result is not None or gosec_result is not None or truffle_result is not None:
66
+ print("Issues detected with Security Tools. Please check PR comments")
67
+ exit(1)
0 commit comments