From 4cf17bc51ed68c45e1cc2a290f3d1359a99b52d3 Mon Sep 17 00:00:00 2001 From: Ethan Chiu Date: Mon, 27 Jul 2020 11:36:51 -0400 Subject: [PATCH] Remove set context for github action --- src/Runner.Worker/Handlers/CompositeActionHandler.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Runner.Worker/Handlers/CompositeActionHandler.cs b/src/Runner.Worker/Handlers/CompositeActionHandler.cs index 807ef2242..3ad296e19 100644 --- a/src/Runner.Worker/Handlers/CompositeActionHandler.cs +++ b/src/Runner.Worker/Handlers/CompositeActionHandler.cs @@ -176,10 +176,6 @@ namespace GitHub.Runner.Worker.Handlers var actionStep = step as IActionRunner; - // Set GITHUB_ACTION - // For composite + their nested steps, we want the all of them to have the same GITHUB_ACTION - step.ExecutionContext.SetGitHubContext("action", ExecutionContext.GetGitHubContext("action")); - try { // Evaluate and merge action's env block to env context