Scanning endpoint failures should not halt the scan
This commit is contained in:
parent
7fda765d49
commit
eb4226ede4
15 changed files with 32 additions and 49 deletions
2
lib/upload-sarif-action.js
generated
2
lib/upload-sarif-action.js
generated
|
|
@ -22,7 +22,7 @@ async function sendSuccessStatusReport(startedAt, uploadStats) {
|
|||
}
|
||||
async function run() {
|
||||
const startedAt = new Date();
|
||||
if (!(await actionsUtil.sendStatusReport(await actionsUtil.createStatusReportBase("upload-sarif", "starting", startedAt), true))) {
|
||||
if (!(await actionsUtil.sendStatusReport(await actionsUtil.createStatusReportBase("upload-sarif", "starting", startedAt)))) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue