mirror of
https://github.com/github/codeql-action.git
synced 2026-04-02 17:52:19 +00:00
add an extra getRequiredInput
This commit is contained in:
2
lib/actions-util.js
generated
2
lib/actions-util.js
generated
@@ -209,7 +209,7 @@ async function createStatusReportBase(actionName, status, actionStartedAt, cause
|
||||
if (status === "success" || status === "failure" || status === "aborted") {
|
||||
statusReport.completed_at = new Date().toISOString();
|
||||
}
|
||||
const matrix = core.getInput("matrix");
|
||||
const matrix = getRequiredInput("matrix");
|
||||
if (matrix) {
|
||||
statusReport.matrix_vars = matrix;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -261,7 +261,7 @@ export async function createStatusReportBase(
|
||||
if (status === "success" || status === "failure" || status === "aborted") {
|
||||
statusReport.completed_at = new Date().toISOString();
|
||||
}
|
||||
const matrix: string | undefined = core.getInput("matrix");
|
||||
const matrix = getRequiredInput("matrix");
|
||||
if (matrix) {
|
||||
statusReport.matrix_vars = matrix;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user