Skip to content

Commit 6dde57c

Browse files
committed
Add deployment key for yaml parsing
1 parent 3f7f8d5 commit 6dde57c

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

src/schemas/json/github-workflow.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,8 @@
256256
},
257257
"deployment": {
258258
"$comment": "https://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/control-deployments#using-environments-without-deployments",
259-
"description": "Whether to create a deployment for this job. Setting to false lets the job use environment secrets and variables without creating a deployment record. Wait timers and required reviewers still apply.",
260-
"oneOf": [
261-
{
262-
"type": "boolean"
263-
},
264-
{
265-
"$ref": "#/definitions/expressionSyntax"
266-
}
267-
],
268-
"default": true
259+
"description": "Whether to create a deployment record for this environment. Defaults to true.",
260+
"type": "boolean"
269261
}
270262
},
271263
"required": ["name"],

0 commit comments

Comments
 (0)