Merge branch 'main' into henrymercer/report-failed-runs

This commit is contained in:
Henry Mercer 2022-12-02 14:31:22 +00:00
commit e0ff272230
21 changed files with 137 additions and 85 deletions

View file

@ -322,8 +322,6 @@ async function run() {
core.setFailed(error.message);
}
console.log(error);
if (error instanceof CodeQLAnalysisError) {
const stats = { ...error.queriesStatusReport };
await sendStatusReport(
@ -398,7 +396,6 @@ async function runWrapper() {
await runPromise;
} catch (error) {
core.setFailed(`analyze action failed: ${error}`);
console.log(error);
}
await checkForTimeout();
}