Add event name to status report
This commit is contained in:
parent
e4a536270d
commit
60465730fb
24 changed files with 83 additions and 38 deletions
|
|
@ -33,13 +33,13 @@ interface InitPostStatusReport
|
|||
initActionPostHelper.JobStatusReport {}
|
||||
|
||||
async function runWrapper() {
|
||||
const logger = getActionsLogger();
|
||||
const startedAt = new Date();
|
||||
let config: Config | undefined;
|
||||
let uploadFailedSarifResult:
|
||||
| initActionPostHelper.UploadFailedSarifResult
|
||||
| undefined;
|
||||
try {
|
||||
const logger = getActionsLogger();
|
||||
const gitHubVersion = await getGitHubVersion();
|
||||
checkGitHubVersionInRange(gitHubVersion, logger);
|
||||
|
||||
|
|
@ -81,6 +81,7 @@ async function runWrapper() {
|
|||
startedAt,
|
||||
config,
|
||||
await checkDiskUsage(),
|
||||
logger,
|
||||
error.message,
|
||||
error.stack,
|
||||
),
|
||||
|
|
@ -93,6 +94,7 @@ async function runWrapper() {
|
|||
startedAt,
|
||||
config,
|
||||
await checkDiskUsage(),
|
||||
logger,
|
||||
);
|
||||
const statusReport: InitPostStatusReport = {
|
||||
...statusReportBase,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue