File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,15 @@ Optional path within the git repository to execute scanners in.
97
97
98
98
When this parameter is specified, you must also provide a `scan_label` to identify the component.
99
99
100
- # ## `scan_timeout` (Optional, number)
100
+ # ## `scan_timeout` (Optional, number) deprecated
101
101
102
102
The optional timeout after which the Github check will be marked as failed. This defaults to 120 seconds.
103
103
104
+ # ## `scan_diff_timeout` (Optional, number)
105
+
106
+ The optional timeout on a diff scan after which the Github check will be marked as failed. This defaults to 120 seconds.
107
+
108
+ # ## `scan_main_timeout` (Optional, number)
109
+
110
+ The optional timeout on a main scan after which the Github check will be marked as failed. This defaults to 2 hours.
111
+
Original file line number Diff line number Diff line change @@ -43,8 +43,14 @@ inputs:
43
43
description : " Optional relative path to scan"
44
44
default : " "
45
45
scan_timeout :
46
+ description : " Maximum amount of time a diff scan should complete in (deprecated)"
47
+ default : " "
48
+ scan_diff_timeout :
46
49
description : " Maximum amount of time a diff scan should complete in"
47
50
default : " "
51
+ scan_main_timeout :
52
+ description : " Maximum amount of time a main scan should complete in"
53
+ default : " "
48
54
runs :
49
55
using : " composite"
50
56
steps :
59
65
BOOST_GIT_MAIN_BRANCH : ${{ inputs.main_branch }}
60
66
BOOST_IGNORE_FAILURE : ${{ inputs.ignore_failure }}
61
67
BOOST_LOG_LEVEL : ${{ inputs.log_level }}
62
- BOOST_DIFF_SCAN_TIMEOUT : ${{ inputs.scan_timeout }}
68
+ BOOST_SCAN_TIMEOUT : ${{ inputs.scan_timeout }}
69
+ BOOST_DIFF_SCAN_TIMEOUT : ${{ inputs.scan_diff_timeout }}
70
+ BOOST_MAIN_SCAN_TIMEOUT : ${{ inputs.scan_main_timeout }}
63
71
BOOST_PRE_SCAN : ${{ inputs.pre_scan_cmd }}
64
72
BOOST_SCAN_LABEL : ${{ inputs.scan_label }}
65
73
BOOST_SCAN_PATH : ${{ inputs.scan_path }}
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ init.config ()
20
20
{
21
21
log.info " initializing configuration"
22
22
23
+ export BOOST_DIFF_SCAN_TIMEOUT=${BOOST_DIFF_SCAN_TIMEOUT:- ${BOOST_SCAN_TIMEOUT:- } }
24
+
23
25
export BOOST_TMP_DIR=${BOOST_TMP_DIR:- ${WORKSPACE_TMP:- ${TMPDIR:-/ tmp} } }
24
26
export BOOST_EXE=${BOOST_EXE:- ${BOOST_TMP_DIR} / boost-cli/ latest}
25
27
You can’t perform that action at this time.
0 commit comments