X-ray bursts associated with envelope expansion