File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101
102102 - name : Run OSV scanner on existing code
103103 # yamllint disable rule:line-length
104- uses : google/osv-scanner-action/osv-scanner-action@90b209d0ea55cea1da9fc0c4e65782cc6acb6e2e # v2.2.2
104+ uses : google/osv-scanner-action/osv-scanner-action@e92b5d07338d4f0ba0981dffed17c48976ca4730 # v2.2.3
105105 continue-on-error : true
106106 with :
107107 scan-args : |-
@@ -119,7 +119,7 @@ jobs:
119119
120120 - name : Run OSV scanner on new code
121121 # yamllint disable rule:line-length
122- uses : google/osv-scanner-action/osv-scanner-action@90b209d0ea55cea1da9fc0c4e65782cc6acb6e2e # v2.2.2
122+ uses : google/osv-scanner-action/osv-scanner-action@e92b5d07338d4f0ba0981dffed17c48976ca4730 # v2.2.3
123123 continue-on-error : true
124124 with :
125125 scan-args : |-
@@ -131,7 +131,7 @@ jobs:
131131
132132 - name : Run the OSV scanner reporter
133133 # yamllint disable rule:line-length
134- uses : google/osv-scanner-action/osv-reporter-action@90b209d0ea55cea1da9fc0c4e65782cc6acb6e2e # v2.2.2
134+ uses : google/osv-scanner-action/osv-reporter-action@e92b5d07338d4f0ba0981dffed17c48976ca4730 # v2.2.3
135135 with :
136136 scan-args : |-
137137 --output=osv-results.sarif
Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ def main():
2626 if len (sys .argv ) < 2 :
2727 print (
2828 shell_tools .highlight (
29- 'Must specify a comparison branch '
30- '(e.g. "origin/master" or "HEAD~1").' , shell_tools .RED ))
29+ 'Must specify a comparison branch (e.g. "origin/master" or "HEAD~1").' ,
30+ shell_tools .RED ,
31+ )
32+ )
3133 sys .exit (1 )
3234 comparison_branch = sys .argv [1 ]
3335
@@ -36,7 +38,8 @@ def main():
3638 actual_commit_id = None , # local uncommitted files
3739 compare_commit_id = comparison_branch ,
3840 destination_directory = os .getcwd (),
39- virtual_env_path = None )
41+ virtual_env_path = None ,
42+ )
4043
4144 uncovered_count = check_for_uncovered_lines (env )
4245 if uncovered_count :
You can’t perform that action at this time.
0 commit comments