From 9122fe7e108f6e0559756f2e44dd0e560de89f6f Mon Sep 17 00:00:00 2001 From: Nikola Jokic <97525037+nikola-jokic@users.noreply.github.com> Date: Tue, 22 Nov 2022 15:05:32 +0100 Subject: [PATCH] added to lowercase on setting github.action_status (#1944) --- src/Runner.Worker/Handlers/CompositeActionHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Worker/Handlers/CompositeActionHandler.cs b/src/Runner.Worker/Handlers/CompositeActionHandler.cs index 04afb100c73..4cc54af41c6 100644 --- a/src/Runner.Worker/Handlers/CompositeActionHandler.cs +++ b/src/Runner.Worker/Handlers/CompositeActionHandler.cs @@ -239,7 +239,7 @@ private async Task RunStepsAsync(List embeddedSteps, ActionRunStage stage // Set action_status to the success of the current composite action var actionResult = ExecutionContext.Result?.ToActionResult() ?? ActionResult.Success; - step.ExecutionContext.SetGitHubContext("action_status", actionResult.ToString()); + step.ExecutionContext.SetGitHubContext("action_status", actionResult.ToString().ToLowerInvariant()); // Initialize env context Trace.Info("Initialize Env context for embedded step");