From fcad147a9c8bd5a8b389015181f5a32c95bdf1d8 Mon Sep 17 00:00:00 2001 From: Vanhci Date: Thu, 21 May 2026 21:10:39 +0800 Subject: [PATCH] fix: add deployment boolean to job-environment-mapping schema Add the deployment field to job-environment-mapping to support the new GitHub workflow syntax that allows workflows to run in an environment without creating a deployment object. Fixes: nektos/act#6086 --- pkg/schema/workflow_schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/schema/workflow_schema.json b/pkg/schema/workflow_schema.json index b65bf6ff4d0..8225d871898 100644 --- a/pkg/schema/workflow_schema.json +++ b/pkg/schema/workflow_schema.json @@ -1662,6 +1662,10 @@ "url": { "type": "string-runner-context-no-secrets", "description": "The environment URL, which maps to `environment_url` in the deployments API." + }, + "deployment": { + "type": "boolean", + "description": "When set to true, runs the workflow without creating a deployment object." } } }