Gas Dryer repair

I have the same problem as a few others- dryer cycles to turn heat on, burner comes on for a minute or two, then shuts off- no heat for rest of cycle. Vent is clear. Do I need gas valve coils, new thermostat(s) or ??
Thanks for reading.