Do not run CodeQL if code scanning is not enabled

Put more fine grained logic around which errors we ignore and process.
Re-instate status reporting in Enterprise.
Abort the code scanning process the status endpoint reports it is not configured.
This commit is contained in:
Simon Engledew
2020-11-18 17:04:23 +00:00
parent dc80b016b6
commit 68dedeaa57
5 changed files with 60 additions and 45 deletions
+1
View File
@@ -95,6 +95,7 @@ async function run() {
try {
actionsUtil.prepareLocalRunEnvironment();
if (
!(await actionsUtil.sendStatusReport(
await actionsUtil.createStatusReportBase("init", "starting", startedAt),