From 6a46ef1c4797db37d4e752bf1d45c02895069708 Mon Sep 17 00:00:00 2001 From: Ethan Chiu Date: Mon, 27 Jul 2020 12:32:32 -0400 Subject: [PATCH 1/2] Make shell required + add inputs --- src/Runner.Worker/action_yaml.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Runner.Worker/action_yaml.json b/src/Runner.Worker/action_yaml.json index a36a900bc..68fea49c2 100644 --- a/src/Runner.Worker/action_yaml.json +++ b/src/Runner.Worker/action_yaml.json @@ -134,7 +134,10 @@ }, "env": "step-env", "working-directory": "string-steps-context", - "shell": "string-steps-context" + "shell": { + "type": "non-empty-string", + "required": true + } } } }, @@ -176,6 +179,7 @@ "string-steps-context": { "context": [ "github", + "inputs", "strategy", "matrix", "steps", @@ -189,6 +193,7 @@ "step-env": { "context": [ "github", + "inputs", "strategy", "matrix", "steps", From e0d4270cc11f3d1d65550a5b6cd7965f6759f180 Mon Sep 17 00:00:00 2001 From: Ethan Chiu Date: Mon, 27 Jul 2020 13:04:33 -0400 Subject: [PATCH 2/2] Remove passing context to all composite steps attribuyte --- src/Runner.Worker/action_yaml.json | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Runner.Worker/action_yaml.json b/src/Runner.Worker/action_yaml.json index 68fea49c2..a4a09181b 100644 --- a/src/Runner.Worker/action_yaml.json +++ b/src/Runner.Worker/action_yaml.json @@ -108,17 +108,6 @@ } }, "composite-steps": { - "context": [ - "github", - "strategy", - "matrix", - "steps", - "inputs", - "job", - "runner", - "env", - "hashFiles(1,255)" - ], "sequence": { "item-type": "composite-step" }