Merge pull request #135 from github/revert-dont-send-matrix-vars
revert: 'Don't send `matrix_vars` field in status reports.'
This commit is contained in:
commit
631929a68f
3 changed files with 5 additions and 3 deletions
2
lib/util.js
generated
2
lib/util.js
generated
|
|
@ -202,7 +202,7 @@ async function createStatusReportBase(actionName, status, actionStartedAt, cause
|
||||||
}
|
}
|
||||||
let matrix = core.getInput('matrix');
|
let matrix = core.getInput('matrix');
|
||||||
if (matrix) {
|
if (matrix) {
|
||||||
// Temporarily do nothing.
|
statusReport.matrix_vars = matrix;
|
||||||
}
|
}
|
||||||
return statusReport;
|
return statusReport;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -166,6 +166,8 @@ export interface StatusReportBase {
|
||||||
"job_name": string;
|
"job_name": string;
|
||||||
// Analysis key, normally composed from the workflow path and job name
|
// Analysis key, normally composed from the workflow path and job name
|
||||||
"analysis_key": string;
|
"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 that the workflow was triggered on
|
||||||
"commit_oid": string;
|
"commit_oid": string;
|
||||||
// Ref that the workflow was triggered on
|
// Ref that the workflow was triggered on
|
||||||
|
|
@ -247,7 +249,7 @@ export async function createStatusReportBase(
|
||||||
}
|
}
|
||||||
let matrix: string | undefined = core.getInput('matrix');
|
let matrix: string | undefined = core.getInput('matrix');
|
||||||
if (matrix) {
|
if (matrix) {
|
||||||
// Temporarily do nothing.
|
statusReport.matrix_vars = matrix;
|
||||||
}
|
}
|
||||||
|
|
||||||
return statusReport;
|
return statusReport;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue