You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'To use Code Scanning with Dependabot, please ensure you are using the "pull_request" event for this workflow and avoid triggering on the "push" event for Dependabot branches. '+
341
341
"See https://docs.github.com/en/code-security/secure-coding/configuring-code-scanning#scanning-on-push for more information on how to configure these events.",
342
342
);
343
343
}else{
344
-
core.setFailed(e.message||GENERIC_403_MSG);
344
+
core.warning(e.message||GENERIC_403_MSG);
345
345
}
346
-
returnfalse;
346
+
returntrue;
347
347
case404:
348
-
core.setFailed(GENERIC_404_MSG);
349
-
returnfalse;
348
+
core.warning(GENERIC_404_MSG);
349
+
returntrue;
350
350
case422:
351
351
// schema incompatibility when reporting status
352
352
// this means that this action version is no longer compatible with the API
@@ -362,9 +362,12 @@ export async function sendStatusReport<S extends StatusReportBase>(
362
362
363
363
// something else has gone wrong and the request/response will be logged by octokit
364
364
// it's possible this is a transient error and we should continue scanning
365
-
core.error(
365
+
core.warning(
366
366
"An unexpected error occurred when sending code scanning status report.",
367
367
);
368
+
}finally{
369
+
// this API is private and it is not critical that it succeed:
0 commit comments