Skip to content

Commit 32ebbb6

Browse files
authored
Doug/fix run issue (#27)
* Fixed issue where diff scan was running when there were no changed manifest files * Fixes for run time detection of changed files * Fixed logic that would keep the CLI running on the default branch * Fix for CLI not running on main branch for github
1 parent 8e02fc5 commit 32ebbb6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

socketsecurity/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__author__ = 'socket.dev'
2-
__version__ = '1.0.30'
2+
__version__ = '1.0.31'

socketsecurity/socketcli.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ def main_code():
387387
new_overview_comment
388388
)
389389
else:
390-
log.info("Not a PR/MR event no comment needed")
390+
log.info("Starting non-PR/MR flow")
391+
diff = core.create_new_diff(target_path, params, workspace=target_path, no_change=no_change)
391392
if enable_json:
392393
log.debug("Outputting JSON Results")
393394
output_console_json(diff, sbom_file)

0 commit comments

Comments
 (0)