The answer depends on the second stop line
inside the intersection, in front of the traffic light on your turning path. Normally, a driver who entered the intersection on green may leave it in the intended direction regardless of the traffic light at the exit, as long as they do not get in the way of traffic that has a green. But if a stop line is painted inside the intersection in front of the traffic lights along your way, you must obey the signals of each of them. So you enter on green, drive up to the second stop line, and while its traffic light does not let you go, you stop before it and wait for green