Skip to content

Commit

Permalink
Merge pull request #135 from github/revert-dont-send-matrix-vars
Browse files Browse the repository at this point in the history
revert: 'Don't send `matrix_vars` field in status reports.'
  • Loading branch information
Alex Ford authored and GitHub committed Aug 4, 2020
2 parents 69bf3f2 + 128c2cf commit 631929a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/util.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,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
Expand Down Expand Up @@ -247,7 +249,7 @@ export async function createStatusReportBase(
}
let matrix: string | undefined = core.getInput('matrix');
if (matrix) {
// Temporarily do nothing.
statusReport.matrix_vars = matrix;
}

return statusReport;
Expand Down

0 comments on commit 631929a

Please sign in to comment.