From b7aef4480d5f0bcd4dced8e59e68192485c9ef87 Mon Sep 17 00:00:00 2001 From: Salman Chishti Date: Wed, 25 Mar 2026 13:49:00 +0000 Subject: [PATCH] fix: add `vars` context to composite action schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The action manifest schema (`action_yaml.json`) was missing `vars` from all composite step context definitions. This caused the runner to reject `${{ vars.* }}` expressions in composite actions at parse time with: Unrecognized named-value: 'vars' The workflow schema (`workflow-v1.0.json`) already includes `vars` in all equivalent step-level contexts. This was a schema-only gap — the runner properly populates the `vars` context at runtime via `ExpressionValues`. Added `vars` to: - `step-env` - `string-steps-context` - `boolean-steps-context` - `step-if` - `step-with` - `output-value` Fixes #4311 --- src/Runner.Worker/action_yaml.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Runner.Worker/action_yaml.json b/src/Runner.Worker/action_yaml.json index ccb9d2eb4..e42965e69 100644 --- a/src/Runner.Worker/action_yaml.json +++ b/src/Runner.Worker/action_yaml.json @@ -1,4 +1,4 @@ -{ +{ "definitions": { "action-root": { "description": "Action file", @@ -163,6 +163,7 @@ "output-value": { "context": [ "github", + "vars", "strategy", "matrix", "steps", @@ -193,6 +194,7 @@ "context": [ "github", "inputs", + "vars", "strategy", "matrix", "steps", @@ -207,6 +209,7 @@ "context": [ "github", "inputs", + "vars", "strategy", "matrix", "steps", @@ -221,6 +224,7 @@ "context": [ "github", "inputs", + "vars", "strategy", "matrix", "steps", @@ -238,6 +242,7 @@ "context": [ "github", "inputs", + "vars", "strategy", "matrix", "steps", @@ -256,6 +261,7 @@ "context": [ "github", "inputs", + "vars", "strategy", "matrix", "steps", @@ -270,4 +276,4 @@ } } } -} \ No newline at end of file +}