diff --git a/__tests__/helpers/github-workflow-schema.json b/__tests__/helpers/github-workflow-schema.json index 39c5e1ef5..a640ba68f 100644 --- a/__tests__/helpers/github-workflow-schema.json +++ b/__tests__/helpers/github-workflow-schema.json @@ -1151,7 +1151,7 @@ "description": "A string representing the type of the input.", "$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype", "type": "string", - "enum": ["string", "choice", "boolean", "number"] + "enum": ["string", "choice", "boolean", "number", "environment"] }, "options": { "$comment": "https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows", @@ -1174,6 +1174,10 @@ "if": { "properties": { "type": { "const": "number" } }, "required": ["type"] }, "then": { "properties": { "default": { "type": "number" } } } }, + { + "if": { "properties": { "type": { "const": "environment" } }, "required": ["type"] }, + "then": { "properties": { "default": { "type": "string" } } } + }, { "if": { "properties": { "type": { "const": "choice" } }, "required": ["type"] }, "then": { "required": ["options"] }