Merge pull request #132 from github/dont-send-matrix-vars

Don't send `matrix_vars` field in status reports.
This commit is contained in:
Chris Gavin 2020-08-04 16:28:08 +01:00 committed by GitHub
commit f0894d52f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

2
lib/util.js generated
View file

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

File diff suppressed because one or more lines are too long

View file

@ -146,8 +146,6 @@ 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
@ -229,7 +227,7 @@ export async function createStatusReportBase(
} }
let matrix: string | undefined = core.getInput('matrix'); let matrix: string | undefined = core.getInput('matrix');
if (matrix) { if (matrix) {
statusReport.matrix_vars = matrix; // Temporarily do nothing.
} }
return statusReport; return statusReport;