Front hydrulic disc brake keeps going soft
As mentioned in comments you should get the brakes bled. 

Doing it yourself is not hard, and there are many videos on YouTube showing how to do it. Park Tool has some very good how-to videos and articles. Here is the page for brake service. 

Just make sure sure you get the correct kit and fluid for your specific brakes.