Explorar o código

feat: Add actionTitle to shellAfterCompleted

jamesread hai 8 meses
pai
achega
9c8e8ec25d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      service/internal/executor/executor.go

+ 1 - 0
service/internal/executor/executor.go

@@ -629,6 +629,7 @@ func stepExecAfter(req *ExecutionRequest) bool {
 		"exitCode":               fmt.Sprintf("%v", req.logEntry.ExitCode),
 		"ot_executionTrackingId": req.TrackingID,
 		"ot_username":            req.AuthenticatedUser.Username,
+		"actionTitle":            req.logEntry.ActionTitle,
 	}
 
 	finalParsedCommand, err := parseCommandForReplacements(req.Action.ShellAfterCompleted, args)