Compare commits

...

1 Commits

Author SHA1 Message Date
Alex Ford
1cb1a015dd Revert "Don't send matrix_vars field in status reports." 2020-08-04 18:21:29 +01:00
3 changed files with 5 additions and 3 deletions

2
lib/util.js generated
View File

@@ -183,7 +183,7 @@ async function createStatusReportBase(actionName, status, actionStartedAt, cause
}
let matrix = core.getInput('matrix');
if (matrix) {
// Temporarily do nothing.
statusReport.matrix_vars = matrix;
}
return statusReport;
}

File diff suppressed because one or more lines are too long

View File

@@ -146,6 +146,8 @@ export interface StatusReportBase {
"job_name": string;
// Analysis key, normally composed from the workflow path and job name
"analysis_key": string;
// Value of the matrix for this instantiation of the job
"matrix_vars"?: string;
// Commit oid that the workflow was triggered on
"commit_oid": string;
// Ref that the workflow was triggered on
@@ -227,7 +229,7 @@ export async function createStatusReportBase(
}
let matrix: string | undefined = core.getInput('matrix');
if (matrix) {
// Temporarily do nothing.
statusReport.matrix_vars = matrix;
}
return statusReport;